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: void RemoveAllByKey<TKey, TVal>(this IDictionary<TKey, TVal>, Func<TKey, bool>)Declarationpublic static void RemoveAllByKey<TKey, TVal>(
this IDictionary<TKey, TVal> dict,
Func<TKey, bool> predicate
)Summary
Removes all entries from a dictionary whose keys satisfy a specified predicate. Generic type parameters| TKey |
Type of the keys in the dictionary. | | TVal |
Type of the values in the dictionary. |
Parameters| this IDictionary<TKey, TVal> | dict |
Dictionary to operate on. | | Func<TKey, bool> | predicate |
Specifies a predicate that determines which entries should be removed from the dictionary. |
|