Click or drag to resize

DictionarySerializerT Class

A utility class to serialize a dictionary into a string, and deserialize a string into a dictionary.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.UtilitiesDictionarySerializerT

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class DictionarySerializer<T>

Type Parameters

T
The type of the dictionary elements value.

The DictionarySerializerT type exposes the following members.

Constructors
  NameDescription
Public methodDictionarySerializerT
Initializes a new instance of the DictionarySerializerT class.
Top
Properties
  NameDescription
Public propertyAssignment
Gets or sets the assignment character.
Public propertySeparator
Gets or sets the separator character.
Public propertyStringComparer
Gets or sets the string comparer to use for dictionary keys.
Public propertyUnquote
Gets or sets a value indicating whether this instance should unquote texts.
Top
Methods
  NameDescription
Public methodStatic memberDeserialize(String, StringComparer, Char, Char)
Deserializes the specified string into a dictionary.
Public methodStatic memberDeserialize(String, IDictionaryString, T, StringComparer, Char, Char)
Deserializes the specified string into a dictionary.
Public methodDeserializeDictionary(String)
Deserializes the text into a dictionary.
Public methodDeserializeDictionary(TextReader)
Deserializes a TextReader into a dictionary.
Public methodDeserializeDictionary(String, IDictionaryString, T)
Deserializes the text into a dictionary.
Public methodDeserializeDictionary(TextReader, IDictionaryString, T)
Deserializes a TextReader into a dictionary.
Public methodStatic memberSerialize(IDictionary, StringComparer, Char, Char)
Serializes the specified dictionary to a string.
Public methodStatic memberSerialize(IDictionaryString, T, StringComparer, Char, Char)
Serializes the specified dictionary to a string.
Public methodSerializeDictionary(IDictionary)
Serializes a dictionary to a string.
Public methodSerializeDictionary(IDictionaryString, T)
Serializes a dictionary to a string.
Public methodSerializeDictionary(TextWriter, IDictionaryString, T)
Serializes a dictionary to a writer.
Public methodSerializeDictionary(TextWriter, IDictionary)
Serializes a dictionary to a writer.
Protected methodSerializeValue
Serializes a value to a writer.
Public methodStatic memberUnquoteText
Unquotes a specified text.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultAssignment
Defines the default assignment character.
Public fieldStatic memberDefaultSeparator
Defines the default separator character.
Public fieldStatic memberDefaultStringComparer
The default string comparer to use.
Top
See Also