Namespace: LLama.Extensions
Extensions to the KeyValuePair struct
public static class KeyValuePairExtensions
Inheritance Object → KeyValuePairExtensions
Deconstruct a KeyValuePair into it's constituent parts.
public static void Deconstruct<TKey, TValue>(KeyValuePair<TKey, TValue> pair, TKey& first, TValue& second)
TKey
Type of the Key
TValue
Type of the Value
pair KeyValuePair<TKey, TValue>
The KeyValuePair to deconstruct
first TKey&
First element, the Key
second TValue&
Second element, the Value