C# Class XSerializer.DictionarySerializer

Inheritance: IXmlSerializerInternal
Show file Open project: QuickenLoans/XSerializer Class Usage Examples

Protected Properties

Property Type Description
_encryptAttribute XSerializer.EncryptAttribute

Public Methods

Method Description
DeserializeObject ( XSerializerXmlReader reader, ISerializeOptions options ) : object
GetSerializer ( Type type, XSerializer.EncryptAttribute encryptAttribute, IXmlSerializerOptions options ) : IXmlSerializerInternal
SerializeObject ( XSerializer.XSerializerXmlTextWriter writer, object instance, ISerializeOptions options ) : void

Protected Methods

Method Description
AddItemToDictionary ( object dictionary, object key, object value ) : void
DictionarySerializer ( XSerializer.EncryptAttribute encryptAttribute, IXmlSerializerOptions options ) : System
FinalizeCollectionIntoReadOnlyDictionary ( object collection ) : object
GetDictionaryEntries ( object dictionary ) : IEnumerable

Private Methods

Method Description
CheckAndReturn ( bool hasInstanceBeenCreated, object instance ) : object
DeserializeKeyOrValue ( XSerializerXmlReader reader, IXmlSerializerInternal serializer, ISerializeOptions options, bool &shouldIssueRead ) : object

Method Details

AddItemToDictionary() protected abstract method

protected abstract AddItemToDictionary ( object dictionary, object key, object value ) : void
dictionary object
key object
value object
return void

DeserializeObject() public method

public DeserializeObject ( XSerializerXmlReader reader, ISerializeOptions options ) : object
reader XSerializerXmlReader
options ISerializeOptions
return object

DictionarySerializer() protected method

protected DictionarySerializer ( XSerializer.EncryptAttribute encryptAttribute, IXmlSerializerOptions options ) : System
encryptAttribute XSerializer.EncryptAttribute
options IXmlSerializerOptions
return System

FinalizeCollectionIntoReadOnlyDictionary() protected abstract method

protected abstract FinalizeCollectionIntoReadOnlyDictionary ( object collection ) : object
collection object
return object

GetDictionaryEntries() protected abstract method

protected abstract GetDictionaryEntries ( object dictionary ) : IEnumerable
dictionary object
return IEnumerable

GetSerializer() public static method

public static GetSerializer ( Type type, XSerializer.EncryptAttribute encryptAttribute, IXmlSerializerOptions options ) : IXmlSerializerInternal
type System.Type
encryptAttribute XSerializer.EncryptAttribute
options IXmlSerializerOptions
return IXmlSerializerInternal

SerializeObject() public method

public SerializeObject ( XSerializer.XSerializerXmlTextWriter writer, object instance, ISerializeOptions options ) : void
writer XSerializer.XSerializerXmlTextWriter
instance object
options ISerializeOptions
return void

Property Details

_encryptAttribute protected property

protected EncryptAttribute,XSerializer _encryptAttribute
return XSerializer.EncryptAttribute