Click or drag to resize

SerializableDictionaryTKey, TValue Class

An dictionary object which can be serialized with XML Serializer.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryTKey, TValue
    Hummingbird.TestFrameworkSerializableDictionaryTKey, TValue

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[XmlRootAttribute("SerializableDictionary")]
public class SerializableDictionary<TKey, TValue> : Dictionary<TKey, TValue>, 
	IXmlSerializable

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

The SerializableDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodSerializableDictionaryTKey, TValue
Initializes a new instance of the SerializableDictionaryTKey, TValue class
Top
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.)
Public propertyKeys (Inherited from DictionaryTKey, TValue.)
Public propertyValues (Inherited from DictionaryTKey, TValue.)
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryTKey, TValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryTKey, TValue.)
Public methodGetSchema
Gets the XML schema.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryTKey, TValue.)
Public methodReadXml
Reads the XML element from XmlReader
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
Writes the Xml elements to XmlWriter.
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also