AP&C API Reference
Public Member Functions | List of all members
Apac.Licensing.XmlDictionarySerializer< K, V > Class Template Reference

A class to manage de/serialization of a generic dictionary. More...

Public Member Functions

void Serialize (Dictionary< K, V > dictionary, XmlWriter serializationStream)
 Serializes the dictionary to an XmlWriter. More...
 
void Serialize (Dictionary< K, V > dictionary, TextWriter serializationStream)
 Serializes the dictionary to a TextWriter. More...
 
void Serialize (Dictionary< K, V > dictionary, Stream serializationStream)
 Serializes the dictionary to a Stream. More...
 
Dictionary< K, V > Deserialize (XmlReader serializationStream)
 Deserializes the dictionary from an XmlWriter. More...
 
Dictionary< K, V > Deserialize (TextReader serializationStream)
 Deserializes the dictionary from a TextWriter. More...
 
Dictionary< K, V > Deserialize (Stream serializationStream)
 Deserializes the dictionary from a Stream. More...
 

Detailed Description

A class to manage de/serialization of a generic dictionary.

Template Parameters
KThe type used for the keys in the dictionary.
VThe type used for the values in the dictionary.

Member Function Documentation

◆ Deserialize() [1/3]

Dictionary<K, V> Apac.Licensing.XmlDictionarySerializer< K, V >.Deserialize ( Stream  serializationStream)
inline

Deserializes the dictionary from a Stream.

Parameters
serializationStreamThe stream holding the serialized data.

◆ Deserialize() [2/3]

Dictionary<K, V> Apac.Licensing.XmlDictionarySerializer< K, V >.Deserialize ( TextReader  serializationStream)
inline

Deserializes the dictionary from a TextWriter.

Parameters
serializationStreamThe stream holding the serialized data.

◆ Deserialize() [3/3]

Dictionary<K, V> Apac.Licensing.XmlDictionarySerializer< K, V >.Deserialize ( XmlReader  serializationStream)
inline

Deserializes the dictionary from an XmlWriter.

Parameters
serializationStreamThe stream holding the serialized data.

◆ Serialize() [1/3]

void Apac.Licensing.XmlDictionarySerializer< K, V >.Serialize ( Dictionary< K, V >  dictionary,
Stream  serializationStream 
)
inline

Serializes the dictionary to a Stream.

Parameters
dictionaryThe dictionary to serialize.
serializationStreamThe stream to put the serialized data into.

◆ Serialize() [2/3]

void Apac.Licensing.XmlDictionarySerializer< K, V >.Serialize ( Dictionary< K, V >  dictionary,
TextWriter  serializationStream 
)
inline

Serializes the dictionary to a TextWriter.

Parameters
dictionaryThe dictionary to serialize.
serializationStreamThe stream to put the serialized data into.

◆ Serialize() [3/3]

void Apac.Licensing.XmlDictionarySerializer< K, V >.Serialize ( Dictionary< K, V >  dictionary,
XmlWriter  serializationStream 
)
inline

Serializes the dictionary to an XmlWriter.

Parameters
dictionaryThe dictionary to serialize.
serializationStreamThe stream to put the serialized data into.

The documentation for this class was generated from the following file: