Nucleus .Net Core CMS

DictionaryExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extension methods for the Dictionary class
TryGetValue (String dict, String> key)
Gets the specified value or returns an empty string if the key is not present.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String
TrySetValue (String dict, String> key, String value)
Adds or replaces the value for the specified key.
Parameters
Name Type
dict System.Collections.Generic.Dictionary<System.String
key String>
value String