Namespace: LLama.Extensions
public static class DictionaryExtension
Inheritance Object → DictionaryExtension
public static void Deconstruct<T1, T2>(KeyValuePair<T1, T2> pair, T1& first, T2& second)
T1
T2
pair KeyValuePair<T1, T2>
first T1&
second T2&
public static void Update<T1, T2>(Dictionary<T1, T2> dic, IDictionary<T1, T2> other)
T1
T2
dic Dictionary<T1, T2>
other IDictionary<T1, T2>
public static T2 GetOrDefault<T1, T2>(Dictionary<T1, T2> dic, T1 key, T2 defaultValue)
T1
T2
dic Dictionary<T1, T2>
key T1
defaultValue T2
T2