C# Class System.Xml.Serialization.SoapCodeExporter

Inheritance: CodeExporter
Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
AddElementMetadata ( CodeAttributeDeclarationCollection metadata, string elementName, TypeDesc typeDesc, bool isNullable ) : void
AddMappingMetadata ( CodeAttributeDeclarationCollection metadata, XmlMemberMapping member ) : void
AddMappingMetadata ( CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, bool forceUseMemberName ) : void
AddMemberMetadata ( CodeAttributeDeclarationCollection metadata, MemberMapping member, bool forceUseMemberName ) : void
ExportElement ( ElementAccessor element ) : void
ExportMember ( CodeTypeDeclaration codeClass, MemberMapping member ) : void
ExportMembersMapping ( XmlMembersMapping xmlMembersMapping ) : void
ExportProperty ( CodeTypeDeclaration codeClass, MemberMapping member, CodeIdentifiers memberScope ) : void
ExportType ( TypeMapping mapping ) : void
ExportTypeMapping ( XmlTypeMapping xmlTypeMapping ) : void
SoapCodeExporter ( CodeNamespace codeNamespace ) : System
SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit ) : System
SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable mappings ) : System
SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options ) : System
SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options, Hashtable mappings ) : System

Private Methods

Method Description
EnsureTypesExported ( Accessor accessors, string ns ) : void
ExportDerivedStructs ( StructMapping mapping ) : void
ExportStruct ( StructMapping mapping ) : CodeTypeDeclaration

Method Details

AddElementMetadata() public method

public AddElementMetadata ( CodeAttributeDeclarationCollection metadata, string elementName, TypeDesc typeDesc, bool isNullable ) : void
metadata System.CodeDom.CodeAttributeDeclarationCollection
elementName string
typeDesc TypeDesc
isNullable bool
return void

AddMappingMetadata() public method

public AddMappingMetadata ( CodeAttributeDeclarationCollection metadata, XmlMemberMapping member ) : void
metadata System.CodeDom.CodeAttributeDeclarationCollection
member XmlMemberMapping
return void

AddMappingMetadata() public method

public AddMappingMetadata ( CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, bool forceUseMemberName ) : void
metadata System.CodeDom.CodeAttributeDeclarationCollection
member XmlMemberMapping
forceUseMemberName bool
return void

AddMemberMetadata() public method

public AddMemberMetadata ( CodeAttributeDeclarationCollection metadata, MemberMapping member, bool forceUseMemberName ) : void
metadata System.CodeDom.CodeAttributeDeclarationCollection
member MemberMapping
forceUseMemberName bool
return void

ExportElement() public method

public ExportElement ( ElementAccessor element ) : void
element ElementAccessor
return void

ExportMember() public method

public ExportMember ( CodeTypeDeclaration codeClass, MemberMapping member ) : void
codeClass System.CodeDom.CodeTypeDeclaration
member MemberMapping
return void

ExportMembersMapping() public method

public ExportMembersMapping ( XmlMembersMapping xmlMembersMapping ) : void
xmlMembersMapping XmlMembersMapping
return void

ExportProperty() public method

public ExportProperty ( CodeTypeDeclaration codeClass, MemberMapping member, CodeIdentifiers memberScope ) : void
codeClass System.CodeDom.CodeTypeDeclaration
member MemberMapping
memberScope CodeIdentifiers
return void

ExportType() public method

public ExportType ( TypeMapping mapping ) : void
mapping TypeMapping
return void

ExportTypeMapping() public method

public ExportTypeMapping ( XmlTypeMapping xmlTypeMapping ) : void
xmlTypeMapping XmlTypeMapping
return void

SoapCodeExporter() public method

public SoapCodeExporter ( CodeNamespace codeNamespace ) : System
codeNamespace System.CodeDom.CodeNamespace
return System

SoapCodeExporter() public method

public SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit ) : System
codeNamespace System.CodeDom.CodeNamespace
codeCompileUnit System.CodeDom.CodeCompileUnit
return System

SoapCodeExporter() public method

public SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable mappings ) : System
codeNamespace System.CodeDom.CodeNamespace
codeCompileUnit System.CodeDom.CodeCompileUnit
codeProvider System.CodeDom.Compiler.CodeDomProvider
options CodeGenerationOptions
mappings System.Collections.Hashtable
return System

SoapCodeExporter() public method

public SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options ) : System
codeNamespace System.CodeDom.CodeNamespace
codeCompileUnit System.CodeDom.CodeCompileUnit
options CodeGenerationOptions
return System

SoapCodeExporter() public method

public SoapCodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeGenerationOptions options, Hashtable mappings ) : System
codeNamespace System.CodeDom.CodeNamespace
codeCompileUnit System.CodeDom.CodeCompileUnit
options CodeGenerationOptions
mappings System.Collections.Hashtable
return System