Extension methods for generic dictionaries.
More...
|
static int | RemoveAll< TKey, TValue > (this IDictionary< TKey, TValue > dictionary, Predicate< TKey > match) |
| Works like List.RemoveAll.
|
|
Extension methods for generic dictionaries.
◆ RemoveAll< TKey, TValue >()
static int PixelCrushers.DictionaryExtensions.RemoveAll< TKey, TValue > |
( |
this IDictionary< TKey, TValue > |
dictionary, |
|
|
Predicate< TKey > |
match |
|
) |
| |
|
inlinestatic |
Works like List.RemoveAll.
- Template Parameters
-
TKey | Key type |
TValue | Value type |
- Parameters
-
dictionary | Dictionary to remove entries from |
match | Delegate to match keys |
- Returns
- Number of entries removed
The documentation for this class was generated from the following file: