C# Класс System.Xml.Serialization.ReflectionXmlSerializationWriter

Наследование: XmlSerializationWriter
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CanOptimizeWriteListSequence bool
CovertPrimitiveToString string
FindXmlnsIndex int
GenerateTypeElement void
GetMemberValue object
GetMemberValue object
IsDefaultValue bool
WriteArray void
WriteArrayItems void
WriteAttribute void
WriteDerivedTypes bool
WriteElement void
WriteElements void
WriteEnumAndArrayTypes bool
WriteEnumMethod string
WriteMember void
WriteMember void
WriteMembersElement void
WriteObjectOfTypeElement void
WritePrimitive void
WritePrimitiveValue bool
WriteQualifiedNameElement void
WriteStructMethod void
WriteText void
hasRequirement bool

Открытые методы

Метод Описание
ReflectionXmlSerializationWriter ( XmlMapping xmlMapping, XmlWriter xmlWriter, XmlSerializerNamespaces namespaces, string encodingStyle, string id ) : System
WriteObject ( object o ) : void

Защищенные методы

Метод Описание
InitCallbacks ( ) : void

Приватные методы

Метод Описание
CanOptimizeWriteListSequence ( TypeDesc listElementTypeDesc ) : bool
CovertPrimitiveToString ( object o, TypeDesc typeDesc ) : string
FindXmlnsIndex ( MemberMapping members ) : int
GenerateTypeElement ( object o, XmlTypeMapping xmlMapping ) : void
GetMemberValue ( object o, MemberInfo memberInfo ) : object
GetMemberValue ( object o, string memberName ) : object
IsDefaultValue ( TypeMapping mapping, object o, object value, bool isNullable ) : bool
WriteArray ( object o, object choiceSource, ElementAccessor elements, TextAccessor text, ChoiceIdentifierAccessor choice, TypeDesc arrayTypeDesc ) : void
WriteArrayItems ( ElementAccessor elements, TextAccessor text, ChoiceIdentifierAccessor choice, TypeDesc arrayTypeDesc, object o ) : void
WriteAttribute ( object memberValue, AttributeAccessor attribute, object parent ) : void
WriteDerivedTypes ( StructMapping mapping, string n, string ns, object o, bool isNullable ) : bool
WriteElement ( object o, ElementAccessor element, string arrayName, bool writeAccessor, XmlMapping parentMapping = null ) : void
WriteElements ( object o, object enumSource, ElementAccessor elements, TextAccessor text, ChoiceIdentifierAccessor choice, string arrayName, bool writeAccessors, bool isNullable, XmlMapping parentMapping = null ) : void
WriteEnumAndArrayTypes ( StructMapping structMapping, object o, string n, string ns, XmlMapping parentMapping ) : bool
WriteEnumMethod ( EnumMapping mapping, object v ) : string
WriteMember ( object memberValue, AttributeAccessor attribute, TypeDesc memberTypeDesc, object parent ) : void
WriteMember ( object o, object choiceSource, ElementAccessor elements, TextAccessor text, ChoiceIdentifierAccessor choice, TypeDesc memberTypeDesc, bool writeAccessors, XmlMapping parentMapping = null ) : void
WriteMembersElement ( object o, XmlMembersMapping mapping ) : void
WriteObjectOfTypeElement ( object o, XmlTypeMapping mapping ) : void
WritePrimitive ( WritePrimitiveMethodRequirement method, string name, string ns, object defaultValue, object o, TypeMapping mapping, bool writeXsiType, bool isElement, bool isNullable ) : void
WritePrimitiveValue ( TypeDesc typeDesc, object o, bool isElement, string &stringValue ) : bool
WriteQualifiedNameElement ( string name, string ns, object defaultValue, XmlQualifiedName o, bool nullable, bool isSoap, PrimitiveMapping mapping ) : void
WriteStructMethod ( StructMapping mapping, string n, string ns, object o, bool isNullable, bool needType, XmlMapping parentMapping = null ) : void
WriteText ( object o, TextAccessor text ) : void
hasRequirement ( WritePrimitiveMethodRequirement value, WritePrimitiveMethodRequirement requirement ) : bool

Описание методов

InitCallbacks() защищенный Метод

protected InitCallbacks ( ) : void
Результат void

ReflectionXmlSerializationWriter() публичный Метод

public ReflectionXmlSerializationWriter ( XmlMapping xmlMapping, XmlWriter xmlWriter, XmlSerializerNamespaces namespaces, string encodingStyle, string id ) : System
xmlMapping XmlMapping
xmlWriter XmlWriter
namespaces XmlSerializerNamespaces
encodingStyle string
id string
Результат System

WriteObject() публичный Метод

public WriteObject ( object o ) : void
o object
Результат void