Get<>(dict, key, defaultVal) Get<>(dict, key, defaultVal) Get<>(dict, key1, key2, defaultVal) IndexOfSubarray<>(sourceArray, findWhat, startIndex, sourceLength, comparer) Insert<>(array, startIndex, values) Insert<>(array, startIndex, value) Remove<>(array, startIndex, length) SubarrayEquals<>(sourceArray, sourceStartIndex, otherArray, otherStartIndex, length, comparer)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: TValue Get<TKey1, TKey2, TValue>(this IDictionary<TKey1, Dictionary<TKey2, TValue>>, TKey1, TKey2, TValue)Declarationpublic static TValue Get<TKey1, TKey2, TValue>(
this IDictionary<TKey1, Dictionary<TKey2, TValue>> dict,
TKey1 key1,
TKey2 key2,
TValue defaultVal
)Summary
Gets a value from a two-level dictionary by key. If the keys don’t exist in the dictionary, the default value
is returned instead. Generic type parameters| TKey1 | This type parameter is not documented. | | TKey2 | This type parameter is not documented. | | TValue | This type parameter is not documented. |
Parameters| this IDictionary<TKey1, Dictionary<TKey2, TValue>> | dict |
Dictionary to operate on. | | TKey1 | key1 |
Key to look up in the first level. | | TKey2 | key2 |
Key to look up in the second level. | | TValue | defaultVal |
Value to return if key1 or key2 is not contained in the relevant dictionary. |
|