Click or drag to resize

SerializableDictionaryTKey, TValue Class

Represents an XML serializable collection of keys and values.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryTKey, TValue
    MicaSystems.UtilsSerializableDictionaryTKey, TValue

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
[XmlRootAttribute("dictionary")]
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, 
	IXmlSerializable

Type Parameters

TKey
The type of the keys in the dictionary.
TValue
The type of the values in the dictionary.

The SerializableDictionaryTKey, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryTKey, TValue.)
Public propertyCount (Inherited from DictionaryTKey, TValue.)
Public propertyItem
Gets or sets the value associated with the specified key.
(Inherited from DictionaryTKey, TValue.)
Protected propertyItemTagName
Gets the XML tag name for an item.
Public propertyKeys (Inherited from DictionaryTKey, TValue.)
Protected propertyKeyTagName
Gets the XML tag name for a key.
Public propertyValues (Inherited from DictionaryTKey, TValue.)
Protected propertyValueTagName
Gets the XML tag name for a value.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
(Inherited from DictionaryTKey, TValue.)
Public methodClear (Inherited from DictionaryTKey, TValue.)
Public methodContainsKey (Inherited from DictionaryTKey, TValue.)
Public methodContainsValue (Inherited from DictionaryTKey, TValue.)
Public methodGetEnumerator (Inherited from DictionaryTKey, TValue.)
Public methodGetObjectData (Inherited from DictionaryTKey, TValue.)
Public methodGetSchema
Gets the XML schema for the XML serialization.
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, TValue.)
Public methodReadXml
Deserializes the object from XML.
Public methodRemove (Inherited from DictionaryTKey, TValue.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryTKey, TValue.)
Public methodWriteXml
Serializes this instance to XML.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also