PixelCrushers.DictionaryExtensions Class Reference

Extension methods for generic dictionaries. More...

Static Public Member Functions

static int RemoveAll< TKey, TValue > (this IDictionary< TKey, TValue > dictionary, Predicate< TKey > match)
 Works like List.RemoveAll.
 

Detailed Description

Extension methods for generic dictionaries.

Member Function Documentation

◆ 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
TKeyKey type
TValueValue type
Parameters
dictionaryDictionary to remove entries from
matchDelegate to match keys
Returns
Number of entries removed

The documentation for this class was generated from the following file: