KGy SOFT

DictionaryExtensions Class

KGy SOFT Core Libraries Help
Inheritance Hierarchy

SystemObject
  KGySoft.CoreLibrariesDictionaryExtensions

Namespace:  KGySoft.CoreLibraries
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0
Syntax

public static class DictionaryExtensions

The DictionaryExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddOrUpdateTKey, TValue(IDictionaryTKey, TValue, TKey, TValue, TValue)
Public methodStatic memberAddOrUpdateTKey, TValue(IDictionaryTKey, TValue, TKey, TValue, FuncTKey, TValue, TValue)
Public methodStatic memberAddOrUpdateTKey, TValue(IDictionaryTKey, TValue, TKey, FuncTKey, TValue, FuncTKey, TValue, TValue)
Public methodStatic memberAddOrUpdateTKey, TValue, TArg(IDictionaryTKey, TValue, TKey, FuncTKey, TArg, TValue, FuncTKey, TValue, TArg, TValue, TArg)
Public methodStatic memberAsThreadSafeTKey, TValue
Public methodStatic memberGetActualValueOrDefaultTKey, TValue, TActualValue(IDictionaryTKey, TValue, TKey, TActualValue)
Public methodStatic memberGetActualValueOrDefaultTKey, TValue, TActualValue(IDictionaryTKey, TValue, TKey, FuncTActualValue)
Public methodStatic memberGetActualValueOrDefaultTKey, TValue, TActualValue(IEnumerableKeyValuePairTKey, TValue, TKey, TActualValue)
Public methodStatic memberGetActualValueOrDefaultTKey, TValue, TActualValue(IEnumerableKeyValuePairTKey, TValue, TKey, FuncTActualValue)
Public methodStatic memberGetOrAddTKey, TValue(IDictionaryTKey, TValue, TKey, TValue)
Public methodStatic memberGetOrAddTKey, TValue(IDictionaryTKey, TValue, TKey, FuncTKey, TValue)
Public methodStatic memberGetOrAddTKey, TValue, TArg(IDictionaryTKey, TValue, TKey, FuncTKey, TArg, TValue, TArg)
Public methodStatic memberCode exampleGetValueOrDefaultTActualValue(IDictionaryString, Object, String, TActualValue)
Tries to get the typed value from a string-object dictionary for the given key.
See the Examples section for some examples.
Public methodStatic memberGetValueOrDefaultTActualValue(IEnumerableKeyValuePairString, Object, String, TActualValue)
Public methodStatic memberGetValueOrDefaultTKey, TValue(IEnumerableKeyValuePairTKey, TValue, TKey)
Public methodStatic memberGetValueOrDefaultTKey, TValue(IEnumerableKeyValuePairTKey, TValue, TKey, TValue)
Public methodStatic memberGetValueOrDefaultTKey, TValue(IEnumerableKeyValuePairTKey, TValue, TKey, FuncTValue)
Public methodStatic memberTryAddTKey, TValue
Public methodStatic memberTryRemoveTKey, TValue(IDictionaryTKey, TValue, TKey)
Tries to remove the value with the specified key from the specified dictionary.
Public methodStatic memberTryRemoveTKey, TValue(IDictionaryTKey, TValue, TKey, TValue)
Public methodStatic memberTryUpdateTKey, TValue
Top
See Also

Reference