Provides extensions for dealing with dictionaries in a "fuzzy" manner.
More...
|
static string | FuzzyFindKeyFor< T > (this IDictionary< string, T > data, string propertyName) |
| Performs increasing levels of "fuzzy matching" for a key in a dictionary:
|
Provides extensions for dealing with dictionaries in a "fuzzy" manner.
◆ FuzzyFindKeyFor< T >()
string PeanutButter.DuckTyping.Extensions.FuzzyDictionaryExtensions.FuzzyFindKeyFor< T > |
( |
this IDictionary< string, T > | data, |
|
|
string | propertyName ) |
|
static |
Performs increasing levels of "fuzzy matching" for a key in a dictionary:
- exact match
- match case insensitive
- match where elements may be separated by one of: space, period, colon, underscore, dash
- eg "object.property" or "some_value" or "class::member"
- match based on an alphanumeric, case-insensitive basis
- Parameters
-
- Template Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.DuckTyping/Extensions/FuzzyDictionaryExtensions.cs