SerializableDictionaryTKey, TValue Class |
Namespace: MicaSystems.Utils
[XmlRootAttribute("dictionary")] public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IXmlSerializable
The SerializableDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | SerializableDictionaryTKey, TValue |
Name | Description | |
---|---|---|
![]() | Comparer | Gets the IEqualityComparerT that is used to determine equality of keys for the dictionary. (Inherited from DictionaryTKey, TValue.) |
![]() | Count | Gets the number of key/value pairs contained in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | Item | Gets or sets the value associated with the specified key. (Inherited from DictionaryTKey, TValue.) |
![]() | ItemTagName |
Gets the XML tag name for an item.
|
![]() | Keys | Gets a collection containing the keys in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | KeyTagName |
Gets the XML tag name for a key.
|
![]() | Values | Gets a collection containing the values in the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | ValueTagName |
Gets the XML tag name for a value.
|
Name | Description | |
---|---|---|
![]() | Add | Adds the specified key and value to the dictionary. (Inherited from DictionaryTKey, TValue.) |
![]() | Clear | Removes all keys and values from the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | ContainsKey | Determines whether the DictionaryTKey, TValue contains the specified key. (Inherited from DictionaryTKey, TValue.) |
![]() | ContainsValue | Determines whether the DictionaryTKey, TValue contains a specific value. (Inherited from DictionaryTKey, TValue.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the DictionaryTKey, TValue instance. (Inherited from DictionaryTKey, TValue.) |
![]() | GetSchema |
Gets the XML schema for the XML serialization.
|
![]() | OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from DictionaryTKey, TValue.) |
![]() | ReadXml |
Deserializes the object from XML.
|
![]() | Remove | Removes the value with the specified key from the DictionaryTKey, TValue. (Inherited from DictionaryTKey, TValue.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue | Gets the value associated with the specified key. (Inherited from DictionaryTKey, TValue.) |
![]() | WriteXml |
Serializes this instance to XML.
|
Name | Description | |
---|---|---|
![]() | AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) |
![]() | EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) |
![]() | EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) |
![]() | GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) |
![]() | IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) |
![]() | IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) |
![]() | Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) |
![]() | SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |
![]() | SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |