Utils_OtherGetOrCreateValue Method |
Name | Description | |
---|---|---|
GetOrCreateValueTKey, TValue(DictionaryTKey, TValue, TKey) |
Tries to find the value associated with the given key.
If not found, creates a new instance of TValue and add it in the dictionary for the specified key. | |
GetOrCreateValueTKey, TValue(DictionaryTKey, TValue, TKey, FuncTValue) |
Tries to find the value associated with the given key.
If not found, uses [valueCreatorIfNotExists] to add the value in the dictionary for the specified key. | |
GetOrCreateValueTKey, TValue(DictionaryTKey, TValue, TKey, TValue) |
Tries to find the value associated with the given key.
If not found, adds [valueIfNotExists] in the dictionary for the specified key. |