Class DictionaryExtensions
Inheritance
DictionaryExtensions
Assembly: P42.Utils.dll
Syntax
public static class DictionaryExtensions
Methods
|
Improve this Doc
View Source
ContainsKeyThatContains<TValue>(IDictionary<String, TValue>, String)
Declaration
public static bool ContainsKeyThatContains<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ItemsWithKeysThatContain<TValue>(IDictionary<String, TValue>, String)
Declaration
public static List<TValue> ItemsWithKeysThatContain<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
Parameters
Returns
Type |
Description |
List<TValue> |
|
Type Parameters
|
Improve this Doc
View Source
KeysThatContain<TValue>(IDictionary<String, TValue>, String)
Declaration
public static List<string> KeysThatContain<TValue>(this IDictionary<string, TValue> dictionary, string subkey)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
TryGetKey<TKey, TValue>(IDictionary<TKey, TValue>, TValue, out TKey)
Declaration
public static bool TryGetKey<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TValue value, out TKey key)
Parameters
Type |
Name |
Description |
IDictionary<TKey, TValue> |
dictionary |
|
TValue |
value |
|
TKey |
key |
|
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|