PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection Class Reference

Provides a convenient IDictionary wrapper for NameValueCollections. More...

Inheritance diagram for PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection:
PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection< TValue >

Public Member Functions

 DictionaryWrappingNameValueCollection (NameValueCollection data, bool caseInsensitive)
 DictionaryWrappingNameValueCollection (NameValueCollection data)
 DictionaryWrappingNameValueCollection (NameValueCollection data, StringComparer comparer)
Public Member Functions inherited from 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.
 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)

Additional Inherited Members

Properties inherited from PeanutButter.Utils.Dictionaries.DictionaryWrappingNameValueCollection< TValue >
StringComparer Comparer [get]
 Comparer to use for the keys of this dictionary.
int Count [get]
bool IsReadOnly [get]
TValue this[string key] [get, set]
ICollection< string > Keys [get]
ICollection< TValue > Values [get]

Detailed Description

Provides a convenient IDictionary wrapper for NameValueCollections.


The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/Dictionaries/DictionaryWrappingNameValueCollection.cs