C# Class XSerializer.DictionarySerializer

Inheritance: IXmlSerializerInternal
Afficher le fichier Open project: QuickenLoans/XSerializer Class Usage Examples

Protected Properties

Свойство Type Description
_encryptAttribute XSerializer.EncryptAttribute

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

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

Method Details

AddItemToDictionary() protected abstract méthode

protected abstract AddItemToDictionary ( object dictionary, object key, object value ) : void
dictionary object
key object
value object
Résultat void

DeserializeObject() public méthode

public DeserializeObject ( XSerializerXmlReader reader, ISerializeOptions options ) : object
reader XSerializerXmlReader
options ISerializeOptions
Résultat object

DictionarySerializer() protected méthode

protected DictionarySerializer ( XSerializer.EncryptAttribute encryptAttribute, IXmlSerializerOptions options ) : System
encryptAttribute XSerializer.EncryptAttribute
options IXmlSerializerOptions
Résultat System

FinalizeCollectionIntoReadOnlyDictionary() protected abstract méthode

protected abstract FinalizeCollectionIntoReadOnlyDictionary ( object collection ) : object
collection object
Résultat object

GetDictionaryEntries() protected abstract méthode

protected abstract GetDictionaryEntries ( object dictionary ) : IEnumerable
dictionary object
Résultat IEnumerable

GetSerializer() public static méthode

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

SerializeObject() public méthode

public SerializeObject ( XSerializer.XSerializerXmlTextWriter writer, object instance, ISerializeOptions options ) : void
writer XSerializer.XSerializerXmlTextWriter
instance object
options ISerializeOptions
Résultat void

Property Details

_encryptAttribute protected_oe property

protected EncryptAttribute,XSerializer _encryptAttribute
Résultat XSerializer.EncryptAttribute