Provides a read/write-through shim for another dictionary with the desired case sensitivity access.
More...
|
| CaseWarpingDictionaryWrapper (IDictionary< string, TValue > actual) |
| Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with no case-warping.
|
| CaseWarpingDictionaryWrapper (IDictionary< string, TValue > actual, bool caseInsensitive) |
| Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with specified case sensitivity.
|
| CaseWarpingDictionaryWrapper (IDictionary< string, TValue > actual, StringComparer keyComparer) |
| Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with the provided StringComparer used to look up keys.
|
IEnumerator< KeyValuePair< string, TValue > > | GetEnumerator () |
void | Add (KeyValuePair< string, TValue > item) |
void | Add (string key, TValue value) |
void | Clear () |
bool | Contains (KeyValuePair< string, TValue > item) |
void | CopyTo (KeyValuePair< string, TValue >[] array, int arrayIndex) |
bool | Remove (KeyValuePair< string, TValue > item) |
bool | ContainsKey (string key) |
bool | Remove (string key) |
bool | TryGetValue (string key, out TValue value) |
|
ICollection< string > | Keys [get] |
ICollection< TValue > | Values [get] |
StringComparer | Comparer [get] |
| Provides read-only access to the StringComparer used to match keys.
|
int | Count [get] |
bool | IsReadOnly [get] |
TValue | this[string key] [get, set] |
Provides a read/write-through shim for another dictionary with the desired case sensitivity access.
- Template Parameters
-
◆ CaseWarpingDictionaryWrapper() [1/3]
PeanutButter.Utils.Dictionaries.CaseWarpingDictionaryWrapper< TValue >.CaseWarpingDictionaryWrapper |
( |
IDictionary< string, TValue > | actual | ) |
|
Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with no case-warping.
- Parameters
-
◆ CaseWarpingDictionaryWrapper() [2/3]
PeanutButter.Utils.Dictionaries.CaseWarpingDictionaryWrapper< TValue >.CaseWarpingDictionaryWrapper |
( |
IDictionary< string, TValue > | actual, |
|
|
bool | caseInsensitive ) |
Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with specified case sensitivity.
- Parameters
-
◆ CaseWarpingDictionaryWrapper() [3/3]
PeanutButter.Utils.Dictionaries.CaseWarpingDictionaryWrapper< TValue >.CaseWarpingDictionaryWrapper |
( |
IDictionary< string, TValue > | actual, |
|
|
StringComparer | keyComparer ) |
Constructs a CaseWarpingDictionaryWrapper around the provided actual dictionary with the provided StringComparer used to look up keys.
- Parameters
-
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/Dictionaries/CaseWarpingDictionaryWrapper.cs