Class DictionaryExtensions
Inheritance
DictionaryExtensions
Assembly: Acoustics.Shared.dll
Syntax
public static class DictionaryExtensions
Methods
|
Improve this Doc
View Source
Deconstruct<TKey, TValue>(KeyValuePair<TKey, TValue>, out TKey, out TValue)
Declaration
public static void Deconstruct<TKey, TValue>(this KeyValuePair<TKey, TValue> kvp, out TKey key, out TValue value)
Parameters
Type |
Name |
Description |
KeyValuePair<TKey, TValue> |
kvp |
|
TKey |
key |
|
TValue |
value |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
|
Improve this Doc
View Source
FirstValue<TKey, TValue>(Dictionary<TKey, TValue>)
Declaration
public static TValue FirstValue<TKey, TValue>(this Dictionary<TKey, TValue> dictionary)
Parameters
Type |
Name |
Description |
Dictionary<TKey, TValue> |
dictionary |
|
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
|
Improve this Doc
View Source
ToDebugString<TKey, TValue>(IDictionary<TKey, TValue>)
Declaration
public static string ToDebugString<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
Parameters
Type |
Name |
Description |
IDictionary<TKey, TValue> |
dictionary |
|
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
|
Improve this Doc
View Source
ToDictDebugString(IDictionary)
Declaration
public static string ToDictDebugString(this IDictionary dictionary)
Parameters
Returns