C# Class System.Xml.Serialization.Advanced.SchemaImporterExtension

Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
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

Method Details

ImportAnyElement() public method

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
return string

ImportDefaultValue() public method

public ImportDefaultValue ( string value, string type ) : System.CodeDom.CodeExpression
value string
type string
return System.CodeDom.CodeExpression

ImportSchemaType() public method

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
return string

ImportSchemaType() public method

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
return string