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
  callback.ShellBoost.Core.UtilitiesDictionarySerializerT

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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