C# Класс System.Xml.Serialization.Advanced.SchemaImporterExtension

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

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

Метод Описание
ImportAnyElement ( XmlSchemaAny any, bool mixed, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string
ImportDefaultValue ( string value, string type ) : System.CodeDom.CodeExpression
ImportSchemaType ( XmlSchemaType type, XmlSchemaObject context, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string
ImportSchemaType ( string name, string ns, XmlSchemaObject context, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string

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

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

public ImportAnyElement ( XmlSchemaAny any, bool mixed, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string
any System.Xml.Schema.XmlSchemaAny
mixed bool
schemas System.Xml.Serialization.XmlSchemas
importer System.Xml.Serialization.XmlSchemaImporter
compileUnit System.CodeDom.CodeCompileUnit
mainNamespace System.CodeDom.CodeNamespace
options CodeGenerationOptions
codeProvider System.CodeDom.Compiler.CodeDomProvider
Результат string

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

public ImportDefaultValue ( string value, string type ) : System.CodeDom.CodeExpression
value string
type string
Результат System.CodeDom.CodeExpression

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

public ImportSchemaType ( XmlSchemaType type, XmlSchemaObject context, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string
type System.Xml.Schema.XmlSchemaType
context System.Xml.Schema.XmlSchemaObject
schemas System.Xml.Serialization.XmlSchemas
importer System.Xml.Serialization.XmlSchemaImporter
compileUnit System.CodeDom.CodeCompileUnit
mainNamespace System.CodeDom.CodeNamespace
options CodeGenerationOptions
codeProvider System.CodeDom.Compiler.CodeDomProvider
Результат string

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

public ImportSchemaType ( string name, string ns, XmlSchemaObject context, System.Xml.Serialization.XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider ) : string
name string
ns string
context System.Xml.Schema.XmlSchemaObject
schemas System.Xml.Serialization.XmlSchemas
importer System.Xml.Serialization.XmlSchemaImporter
compileUnit System.CodeDom.CodeCompileUnit
mainNamespace System.CodeDom.CodeNamespace
options CodeGenerationOptions
codeProvider System.CodeDom.Compiler.CodeDomProvider
Результат string