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

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

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

Метод Описание
ExportAnyType ( XmlMembersMapping members ) : string
ExportAnyType ( string ns ) : string
ExportMembersMapping ( XmlMembersMapping xmlMembersMapping ) : void
ExportMembersMapping ( XmlMembersMapping xmlMembersMapping, bool exportEnclosingType ) : void
ExportTypeMapping ( XmlMembersMapping xmlMembersMapping ) : XmlQualifiedName
ExportTypeMapping ( XmlTypeMapping xmlTypeMapping ) : void
XmlSchemaExporter ( System.Xml.Serialization.XmlSchemas schemas ) : System

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

Метод Описание
AddSchema ( string targetNamespace ) : XmlSchema
AddSchemaImport ( string ns, string referencingNs ) : void
AddSchemaItem ( XmlSchemaObject item, string ns, string referencingNs ) : void
AddXmlnsAnnotation ( XmlSchemaComplexType type, string xmlnsMemberName ) : void
CheckForDuplicateType ( TypeMapping mapping, string newNamespace ) : void
CheckScope ( TypeScope scope ) : void
ExportAnonymousPrimitiveMapping ( PrimitiveMapping mapping ) : XmlSchemaType
ExportArrayMapping ( ArrayMapping mapping, string ns, XmlSchemaElement element ) : void
ExportAttributeAccessor ( XmlSchemaComplexType type, AttributeAccessor accessor, bool valueTypeOptional, string ns ) : void
ExportDefaultValue ( TypeMapping mapping, object value ) : string
ExportDerivedMappings ( StructMapping mapping ) : void
ExportElement ( ElementAccessor accessor ) : XmlSchemaElement
ExportElementAccessor ( XmlSchemaGroupBase group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns ) : void
ExportElementAccessors ( XmlSchemaGroupBase group, ElementAccessor accessors, bool repeats, bool valueTypeOptional, string ns ) : void
ExportElementMapping ( XmlSchemaElement element, Mapping mapping, string ns, bool isAny ) : void
ExportEnumMapping ( EnumMapping mapping, string ns ) : XmlSchemaType
ExportMapping ( Mapping mapping, string ns, bool isAny ) : void
ExportMembersMapping ( MembersMapping mapping, string ns ) : XmlSchemaType
ExportNonXsdPrimitiveMapping ( PrimitiveMapping mapping, string ns ) : XmlQualifiedName
ExportPrimitiveMapping ( PrimitiveMapping mapping, string ns ) : XmlQualifiedName
ExportRootIfNecessary ( TypeScope typeScope ) : void
ExportSpecialMapping ( SpecialMapping mapping, string ns, bool isAny, XmlSchemaElement element ) : XmlSchemaType
ExportStructMapping ( StructMapping mapping, string ns, XmlSchemaElement element ) : XmlQualifiedName
ExportTypeMembers ( XmlSchemaComplexType type, MemberMapping members, string name, string ns, bool hasSimpleContent, bool openModel ) : void
FindImport ( XmlSchema schema, string ns ) : XmlSchemaImport
FindSchemaType ( string name, XmlSchemaObjectCollection items ) : XmlSchemaType
IsAnyType ( XmlSchemaType schemaType, bool mixed, bool unbounded ) : bool
NamespacesEqual ( string ns1, string ns2 ) : bool
SchemaContainsItem ( XmlSchemaObject item, string ns ) : bool

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

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

public ExportAnyType ( XmlMembersMapping members ) : string
members XmlMembersMapping
Результат string

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

public ExportAnyType ( string ns ) : string
ns string
Результат string

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

public ExportMembersMapping ( XmlMembersMapping xmlMembersMapping ) : void
xmlMembersMapping XmlMembersMapping
Результат void

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

public ExportMembersMapping ( XmlMembersMapping xmlMembersMapping, bool exportEnclosingType ) : void
xmlMembersMapping XmlMembersMapping
exportEnclosingType bool
Результат void

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

public ExportTypeMapping ( XmlMembersMapping xmlMembersMapping ) : XmlQualifiedName
xmlMembersMapping XmlMembersMapping
Результат System.Xml.XmlQualifiedName

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

public ExportTypeMapping ( XmlTypeMapping xmlTypeMapping ) : void
xmlTypeMapping XmlTypeMapping
Результат void

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

public XmlSchemaExporter ( System.Xml.Serialization.XmlSchemas schemas ) : System
schemas System.Xml.Serialization.XmlSchemas
Результат System