GetValueOrDefault<TValue>(IDictionary<string, object>, string, TValue)
public static TValue GetValueOrDefault<TValue>(IDictionary<string, object> dictionary, string key, TValue defaultValue)
- Returns:
- TValue
Parameters
dictionary
IDictionary<string, object>
key
string
defaultValue
TValue
Type Parameters
TValue
GetValueOrDefault<TKey>(IDictionary<TKey, object>, TKey, string)
public static string GetValueOrDefault<TKey>(IDictionary<TKey, object> dictionary, TKey key, string defaultValue)
- Returns:
- string
Parameters
dictionary
IDictionary<TKey, object>
key
TKey
defaultValue
string
Type Parameters
TKey