C# Class System.Runtime.Serialization.XsdDataContractImporter

ファイルを表示 Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
AddExtensionData void
AddProperty void
AddTypeAttributes void
CanImport bool
DoImport void
GetCodeNamespace System.CodeDom.CodeNamespace
GetCodeNamespaceFromXmlns string
GetCodeTypeReference CodeTypeReference
GetCodeTypeReferenceInternal CodeTypeReference
GetTypeInfo TypeImportInfo
GetUniqueName string
Import void
Import void
ImportComplexType bool
ImportEnum void
ImportSimpleType void
IsPredefinedType bool
MakeStringNamespaceComponentsValid string

Public Methods

Method Description
CanImport ( XmlSchemaSet schemas ) : bool
CanImport ( XmlSchemaSet schemas, ICollection typeNames ) : bool
CanImport ( XmlSchemaSet schemas, XmlQualifiedName typeName ) : bool
CanImport ( XmlSchemaSet schemas, XmlSchemaElement element ) : bool
GetCodeTypeReference ( XmlQualifiedName typeName ) : CodeTypeReference
GetKnownTypeReferences ( XmlQualifiedName typeName ) : ICollection
Import ( XmlSchemaSet schemas, XmlSchemaElement element ) : XmlQualifiedName
Import ( XmlSchemaSet schemas ) : void
Import ( XmlSchemaSet schemas, ICollection typeNames ) : void
Import ( XmlSchemaSet schemas, XmlQualifiedName typeName ) : void
XsdDataContractImporter ( ) : System
XsdDataContractImporter ( CodeCompileUnit codeCompileUnit ) : System

Private Methods

Method Description
AddExtensionData ( CodeTypeDeclaration td ) : void
AddProperty ( CodeTypeDeclaration td, XmlSchemaElement xe ) : void
AddTypeAttributes ( CodeTypeDeclaration td, XmlSchemaType type ) : void
CanImport ( XmlSchemaSet schemas, XmlSchemaComplexType type ) : bool
DoImport ( XmlSchemaSet schemas, XmlSchemaType type, XmlQualifiedName qname ) : void
GetCodeNamespace ( XmlQualifiedName name ) : CodeNamespace
GetCodeNamespaceFromXmlns ( string xns ) : string
GetCodeTypeReference ( XmlQualifiedName typeName, XmlSchemaElement element ) : CodeTypeReference
GetCodeTypeReferenceInternal ( XmlQualifiedName typeName, bool throwError ) : CodeTypeReference
GetTypeInfo ( XmlQualifiedName typeName, bool throwError ) : TypeImportInfo
GetUniqueName ( string name, CodeNamespace cns ) : string
Import ( XmlSchemaSet schemas, XmlSchemaType type ) : void
Import ( XmlSchemaSet schemas, XmlSchemaType type, XmlQualifiedName qname ) : void
ImportComplexType ( CodeTypeDeclaration td, XmlSchemaSet schemas, XmlSchemaComplexType type, XmlQualifiedName qname ) : bool
ImportEnum ( CodeTypeDeclaration td, XmlSchemaSet schemas, XmlSchemaSimpleTypeRestriction r, XmlSchemaType type, XmlQualifiedName qname, bool isFlag ) : void
ImportSimpleType ( CodeTypeDeclaration td, XmlSchemaSet schemas, XmlSchemaSimpleType type, XmlQualifiedName qname ) : void
IsPredefinedType ( XmlQualifiedName qname ) : bool
MakeStringNamespaceComponentsValid ( string ns ) : string

Method Details

CanImport() public method

public CanImport ( XmlSchemaSet schemas ) : bool
schemas System.Xml.Schema.XmlSchemaSet
return bool

CanImport() public method

public CanImport ( XmlSchemaSet schemas, ICollection typeNames ) : bool
schemas System.Xml.Schema.XmlSchemaSet
typeNames ICollection
return bool

CanImport() public method

public CanImport ( XmlSchemaSet schemas, XmlQualifiedName typeName ) : bool
schemas System.Xml.Schema.XmlSchemaSet
typeName System.Xml.XmlQualifiedName
return bool

CanImport() public method

public CanImport ( XmlSchemaSet schemas, XmlSchemaElement element ) : bool
schemas System.Xml.Schema.XmlSchemaSet
element System.Xml.Schema.XmlSchemaElement
return bool

GetCodeTypeReference() public method

public GetCodeTypeReference ( XmlQualifiedName typeName ) : CodeTypeReference
typeName System.Xml.XmlQualifiedName
return CodeTypeReference

GetKnownTypeReferences() public method

public GetKnownTypeReferences ( XmlQualifiedName typeName ) : ICollection
typeName System.Xml.XmlQualifiedName
return ICollection

Import() public method

public Import ( XmlSchemaSet schemas, XmlSchemaElement element ) : XmlQualifiedName
schemas System.Xml.Schema.XmlSchemaSet
element System.Xml.Schema.XmlSchemaElement
return System.Xml.XmlQualifiedName

Import() public method

public Import ( XmlSchemaSet schemas ) : void
schemas System.Xml.Schema.XmlSchemaSet
return void

Import() public method

public Import ( XmlSchemaSet schemas, ICollection typeNames ) : void
schemas System.Xml.Schema.XmlSchemaSet
typeNames ICollection
return void

Import() public method

public Import ( XmlSchemaSet schemas, XmlQualifiedName typeName ) : void
schemas System.Xml.Schema.XmlSchemaSet
typeName System.Xml.XmlQualifiedName
return void

XsdDataContractImporter() public method

public XsdDataContractImporter ( ) : System
return System

XsdDataContractImporter() public method

public XsdDataContractImporter ( CodeCompileUnit codeCompileUnit ) : System
codeCompileUnit System.CodeDom.CodeCompileUnit
return System