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

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

Private Properties

Свойство Тип Описание
AddScopeElement void
AddScopeElements void
AttributeForm XmlSchemaForm
BaseTypeName System.Xml.XmlQualifiedName
ElementForm XmlSchemaForm
FindAttribute System.Xml.Schema.XmlSchemaAttribute
FindAttributeGroup System.Xml.Schema.XmlSchemaAttributeGroup
FindDataType System.Xml.Schema.XmlSchemaSimpleType
FindElement System.Xml.Schema.XmlSchemaElement
FindGroup System.Xml.Schema.XmlSchemaGroup
FindType System.Xml.Schema.XmlSchemaType
GatherGroupChoices bool
GatherGroupChoices bool
GenerateUniqueTypeName string
GetDataTypeSource TypeDesc
GetDefaultMapping TypeMapping
GetEquivalentElements System.Xml.Schema.XmlSchemaElement[]
GetTopLevelElement System.Xml.Schema.XmlSchemaElement
GetTypeItems TypeItems
ImportAny System.Xml.Serialization.ElementAccessor[]
ImportAnyAttributeMember void
ImportAnyMapping SpecialMapping
ImportAnyMember MemberMapping
ImportArray ElementAccessor
ImportArrayMapping ArrayMapping
ImportAttribute AttributeAccessor
ImportAttributeGroupMembers void
ImportAttributeMember void
ImportChoiceGroup MemberMapping
ImportDataType TypeMapping
ImportDerivedTypes void
ImportElement ElementAccessor
ImportElement ElementAccessor
ImportElementMember void
ImportElementType TypeMapping
ImportEnumeratedChoice EnumMapping
ImportEnumeratedDataType TypeMapping
ImportGroup void
ImportGroupMembers void
ImportMembersType MembersMapping
ImportNonXsdPrimitiveDataType PrimitiveMapping
ImportPrimitiveDataType PrimitiveMapping
ImportSpecialAttribute AttributeAccessor
ImportStructDataType StructMapping
ImportStructType StructMapping
ImportSubstitutionGroupMember bool
ImportTextMember void
ImportType TypeMapping
ImportType TypeMapping
ImportTypeMembers System.Xml.Serialization.MemberMapping[]
ImportXmlnsDeclarationsMember void
IsAllGroup bool
IsCyclicReferencedType bool
IsMixed bool
IsNeedXmlSerializationAttributes bool
KeepXmlnsDeclarations bool
RunSchemaExtensions void

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

Метод Описание
ImportAnyType ( XmlQualifiedName typeName, string elementName ) : XmlMembersMapping
ImportDerivedTypeMapping ( XmlQualifiedName name, Type baseType ) : XmlTypeMapping
ImportDerivedTypeMapping ( XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect ) : XmlTypeMapping
ImportMembersMapping ( XmlQualifiedName name ) : XmlMembersMapping
ImportMembersMapping ( XmlQualifiedName names, Type baseType, bool baseTypeCanBeIndirect ) : XmlMembersMapping
ImportMembersMapping ( string name, string ns, SoapSchemaMember members ) : XmlMembersMapping
ImportSchemaType ( XmlQualifiedName typeName ) : XmlTypeMapping
ImportSchemaType ( XmlQualifiedName typeName, Type baseType ) : XmlTypeMapping
ImportSchemaType ( XmlQualifiedName typeName, Type baseType, bool baseTypeCanBeIndirect ) : XmlTypeMapping
ImportTypeMapping ( XmlQualifiedName name ) : XmlTypeMapping
XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas ) : System
XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeGenerationOptions options, ImportContext context ) : System
XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeIdentifiers typeIdentifiers ) : System
XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options ) : System

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

Метод Описание
AddScopeElement ( INameScope scope, ElementAccessor element, bool &duplicateElements, bool allowDuplicates ) : void
AddScopeElements ( INameScope scope, ElementAccessor elements, bool &duplicateElements, bool allowDuplicates ) : void
AttributeForm ( string ns, XmlSchemaAttribute attribute ) : XmlSchemaForm
BaseTypeName ( XmlSchemaSimpleType dataType ) : XmlQualifiedName
ElementForm ( string ns, XmlSchemaElement element ) : XmlSchemaForm
FindAttribute ( XmlQualifiedName name ) : XmlSchemaAttribute
FindAttributeGroup ( XmlQualifiedName name ) : XmlSchemaAttributeGroup
FindDataType ( XmlQualifiedName name, TypeFlags flags ) : XmlSchemaSimpleType
FindElement ( XmlQualifiedName name ) : XmlSchemaElement
FindGroup ( XmlQualifiedName name ) : XmlSchemaGroup
FindType ( XmlQualifiedName name, TypeFlags flags ) : XmlSchemaType
GatherGroupChoices ( XmlSchemaGroup group, NameTable choiceElements, string identifier, string ns, bool &needExplicitOrder, bool allowDuplicates ) : bool
GatherGroupChoices ( XmlSchemaParticle particle, NameTable choiceElements, string identifier, string ns, bool &needExplicitOrder, bool allowDuplicates ) : bool
GenerateUniqueTypeName ( string desiredName, string ns ) : string
GetDataTypeSource ( XmlSchemaSimpleType dataType, TypeFlags flags ) : TypeDesc
GetDefaultMapping ( TypeFlags flags ) : TypeMapping
GetEquivalentElements ( XmlSchemaElement element ) : System.Xml.Schema.XmlSchemaElement[]
GetTopLevelElement ( XmlSchemaElement element ) : XmlSchemaElement
GetTypeItems ( XmlSchemaType type ) : TypeItems
ImportAny ( XmlSchemaAny any, bool makeElement, string targetNamespace ) : System.Xml.Serialization.ElementAccessor[]
ImportAnyAttributeMember ( XmlSchemaAnyAttribute any, CodeIdentifiers members, CodeIdentifiers membersScope ) : void
ImportAnyMapping ( XmlSchemaType type, string identifier, string ns, bool repeats ) : SpecialMapping
ImportAnyMember ( XmlSchemaAny any, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool &mixed, bool &needExplicitOrder, bool allowDuplicates ) : MemberMapping
ImportArray ( XmlSchemaElement element, string identifier, string ns, bool repeats ) : ElementAccessor
ImportArrayMapping ( XmlSchemaType type, string identifier, string ns, bool repeats ) : ArrayMapping
ImportAttribute ( XmlSchemaAttribute attribute, string identifier, string ns, XmlSchemaAttribute defaultValueProvider ) : AttributeAccessor
ImportAttributeGroupMembers ( XmlSchemaAttributeGroup group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, string ns ) : void
ImportAttributeMember ( XmlSchemaAttribute attribute, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, string ns ) : void
ImportChoiceGroup ( XmlSchemaGroupBase group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, bool &needExplicitOrder, bool allowDuplicates ) : MemberMapping
ImportDataType ( XmlSchemaSimpleType dataType, string typeNs, string identifier, Type baseType, TypeFlags flags, bool isList ) : TypeMapping
ImportDerivedTypes ( XmlQualifiedName baseName ) : void
ImportElement ( XmlQualifiedName name, Type desiredMappingType, Type baseType ) : ElementAccessor
ImportElement ( XmlSchemaElement element, string identifier, Type desiredMappingType, Type baseType, string ns, bool topLevelElement ) : ElementAccessor
ImportElementMember ( XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool repeats, bool &needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements ) : void
ImportElementType ( XmlSchemaElement element, string identifier, Type desiredMappingType, Type baseType, string ns ) : TypeMapping
ImportEnumeratedChoice ( ElementAccessor choice, string typeNs, string typeName ) : EnumMapping
ImportEnumeratedDataType ( XmlSchemaSimpleType dataType, string typeNs, string identifier, TypeFlags flags, bool isList ) : TypeMapping
ImportGroup ( XmlSchemaGroupBase group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool mixed, bool &needExplicitOrder, bool allowDuplicates, bool groupRepeats, bool allowUnboundedElements ) : void
ImportGroupMembers ( XmlSchemaParticle particle, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, bool &mixed, bool &needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements ) : void
ImportMembersType ( XmlSchemaType type, string typeNs, string identifier ) : MembersMapping
ImportNonXsdPrimitiveDataType ( XmlSchemaSimpleType dataType, string ns, TypeFlags flags ) : PrimitiveMapping
ImportPrimitiveDataType ( XmlSchemaSimpleType dataType, TypeFlags flags ) : PrimitiveMapping
ImportSpecialAttribute ( XmlQualifiedName name, string identifier ) : AttributeAccessor
ImportStructDataType ( XmlSchemaSimpleType dataType, string typeNs, string identifier, Type baseType ) : StructMapping
ImportStructType ( XmlSchemaType type, string typeNs, string identifier, Type baseType, bool arrayLike ) : StructMapping
ImportSubstitutionGroupMember ( XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, string ns, bool repeats, bool &needExplicitOrder, bool allowDuplicates ) : bool
ImportTextMember ( CodeIdentifiers members, CodeIdentifiers membersScope, XmlQualifiedName simpleContentType ) : void
ImportType ( XmlQualifiedName name, Type desiredMappingType, Type baseType, TypeFlags flags, bool addref ) : TypeMapping
ImportType ( XmlSchemaComplexType type, string typeNs, string identifier, Type desiredMappingType, Type baseType, TypeFlags flags ) : TypeMapping
ImportTypeMembers ( XmlSchemaType type, string typeNs, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, bool &needExplicitOrder, bool order, bool allowUnboundedElements ) : System.Xml.Serialization.MemberMapping[]
ImportXmlnsDeclarationsMember ( XmlSchemaType type, CodeIdentifiers members, CodeIdentifiers membersScope ) : void
IsAllGroup ( XmlSchemaType type ) : bool
IsCyclicReferencedType ( XmlSchemaElement element, List identifiers ) : bool
IsMixed ( XmlSchemaType type ) : bool
IsNeedXmlSerializationAttributes ( ArrayMapping arrayMapping ) : bool
KeepXmlnsDeclarations ( XmlSchemaType type, string &xmlnsMemberName ) : bool
RunSchemaExtensions ( TypeMapping mapping, XmlQualifiedName qname, XmlSchemaType type, XmlSchemaObject context, TypeFlags flags ) : void

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

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

public ImportAnyType ( XmlQualifiedName typeName, string elementName ) : XmlMembersMapping
typeName System.Xml.XmlQualifiedName
elementName string
Результат XmlMembersMapping

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

public ImportDerivedTypeMapping ( XmlQualifiedName name, Type baseType ) : XmlTypeMapping
name System.Xml.XmlQualifiedName
baseType Type
Результат XmlTypeMapping

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

public ImportDerivedTypeMapping ( XmlQualifiedName name, Type baseType, bool baseTypeCanBeIndirect ) : XmlTypeMapping
name System.Xml.XmlQualifiedName
baseType Type
baseTypeCanBeIndirect bool
Результат XmlTypeMapping

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

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

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

public ImportMembersMapping ( XmlQualifiedName names, Type baseType, bool baseTypeCanBeIndirect ) : XmlMembersMapping
names System.Xml.XmlQualifiedName
baseType Type
baseTypeCanBeIndirect bool
Результат XmlMembersMapping

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

public ImportMembersMapping ( string name, string ns, SoapSchemaMember members ) : XmlMembersMapping
name string
ns string
members SoapSchemaMember
Результат XmlMembersMapping

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

public ImportSchemaType ( XmlQualifiedName typeName ) : XmlTypeMapping
typeName System.Xml.XmlQualifiedName
Результат XmlTypeMapping

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

public ImportSchemaType ( XmlQualifiedName typeName, Type baseType ) : XmlTypeMapping
typeName System.Xml.XmlQualifiedName
baseType Type
Результат XmlTypeMapping

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

public ImportSchemaType ( XmlQualifiedName typeName, Type baseType, bool baseTypeCanBeIndirect ) : XmlTypeMapping
typeName System.Xml.XmlQualifiedName
baseType Type
baseTypeCanBeIndirect bool
Результат XmlTypeMapping

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

public ImportTypeMapping ( XmlQualifiedName name ) : XmlTypeMapping
name System.Xml.XmlQualifiedName
Результат XmlTypeMapping

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

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

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

public XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeGenerationOptions options, ImportContext context ) : System
schemas System.Xml.Serialization.XmlSchemas
options CodeGenerationOptions
context ImportContext
Результат System

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

public XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeIdentifiers typeIdentifiers ) : System
schemas System.Xml.Serialization.XmlSchemas
typeIdentifiers CodeIdentifiers
Результат System

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

public XmlSchemaImporter ( System.Xml.Serialization.XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options ) : System
schemas System.Xml.Serialization.XmlSchemas
typeIdentifiers CodeIdentifiers
options CodeGenerationOptions
Результат System