Nucleus .Net Core CMS

DictionaryExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extension methods for the Dictionary<string, string> class

Methods

TryGetValue (String,String>) Method

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,String>,String) Method

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,String>,String) Method

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,String>,String) Method

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,String>,String) Method

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,String>,String) Method

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,String>,String) Method

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