PeanutButter
|
Wraps a NameValueCollection in an IDictionary interface. More...
Public Member Functions | |
DictionaryWrappingNameValueCollection (NameValueCollection data, bool caseInsensitive) | |
Construct this dictionary with a NameValueCollection to wrap, specifying whether or not key lookups are to be case-sensitive. | |
DictionaryWrappingNameValueCollection (NameValueCollection data) | |
Construct this dictionary with a NameValueCollection to wrap. | |
DictionaryWrappingNameValueCollection (NameValueCollection data, StringComparer comparer) | |
Construct this dictionary with a NameValueCollection to wrap, specifying the StringComparer to use when comparing requested keys with available keys. | |
IEnumerator< KeyValuePair< string, TValue > > | GetEnumerator () |
void | Add (KeyValuePair< string, TValue > item) |
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) |
void | Add (string key, TValue value) |
bool | Remove (string key) |
bool | TryGetValue (string key, out TValue value) |
Wraps a NameValueCollection in an IDictionary interface.
TValue | : | class |
PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection< TValue >.DictionaryWrappingNameValueCollection | ( | NameValueCollection | data | ) |
Construct this dictionary with a NameValueCollection to wrap.
data |
PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection< TValue >.DictionaryWrappingNameValueCollection | ( | NameValueCollection | data, |
bool | caseInsensitive ) |
Construct this dictionary with a NameValueCollection to wrap, specifying whether or not key lookups are to be case-sensitive.
data | |
caseInsensitive | Flag: is this collection to treat keys case-insensitive? |
PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection< TValue >.DictionaryWrappingNameValueCollection | ( | NameValueCollection | data, |
StringComparer | comparer ) |
Construct this dictionary with a NameValueCollection to wrap, specifying the StringComparer to use when comparing requested keys with available keys.
data | |
comparer |