|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- # KeyValuePairExtensions
-
- Namespace: LLama.Extensions
-
- Extensions to the KeyValuePair struct
-
- ```csharp
- public static class KeyValuePairExtensions
- ```
-
- Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [KeyValuePairExtensions](./llama.extensions.keyvaluepairextensions.md)
-
- ## Methods
-
- ### **Deconstruct<TKey, TValue>(KeyValuePair<TKey, TValue>, TKey&, TValue&)**
-
- Deconstruct a KeyValuePair into it's constituent parts.
-
- ```csharp
- public static void Deconstruct<TKey, TValue>(KeyValuePair<TKey, TValue> pair, TKey& first, TValue& second)
- ```
-
- #### Type Parameters
-
- `TKey`<br>
- Type of the Key
-
- `TValue`<br>
- Type of the Value
-
- #### Parameters
-
- `pair` KeyValuePair<TKey, TValue><br>
- The KeyValuePair to deconstruct
-
- `first` TKey&<br>
- First element, the Key
-
- `second` TValue&<br>
- Second element, the Value
|