C# Class System.Xml.Serialization.CodeExporter

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

Private Properties

Property Type Description
AddIncludeMetadata void
AddPropertyChangedNotifier void
AddTypeMetadata void
AddWarningComment void
CheckScope void
CodeExporter System
CreatePropertyDeclaration System.CodeDom.CodeMemberProperty
EnsureTypesExported void
ExportConstant void
ExportDerivedStructs void
ExportEnum System.CodeDom.CodeTypeDeclaration
ExportRoot void
FindAttributeDeclaration System.CodeDom.CodeAttributeDeclaration
GetProductVersion string
MakeFieldName string
PromoteType object
ShouldInclude bool

Private Methods

Method Description
AddIncludeMetadata ( CodeAttributeDeclarationCollection metadata, StructMapping mapping, Type type ) : void
AddPropertyChangedNotifier ( CodeTypeDeclaration codeClass ) : void
AddTypeMetadata ( CodeAttributeDeclarationCollection metadata, Type type, string defaultName, string name, string ns, bool includeInSchema ) : void
AddWarningComment ( CodeCommentStatementCollection comments, string text ) : void
CheckScope ( TypeScope scope ) : void
CodeExporter ( CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider, CodeGenerationOptions options, Hashtable exportedMappings ) : System
CreatePropertyDeclaration ( CodeMemberField field, string name, string typeName ) : CodeMemberProperty
EnsureTypesExported ( Accessor accessors, string ns ) : void
ExportConstant ( CodeTypeDeclaration codeClass, ConstantMapping constant, Type type, bool init, long enumValue ) : void
ExportDerivedStructs ( StructMapping mapping ) : void
ExportEnum ( EnumMapping mapping, Type type ) : CodeTypeDeclaration
ExportRoot ( StructMapping mapping, Type includeType ) : void
FindAttributeDeclaration ( Type type, CodeAttributeDeclarationCollection metadata ) : CodeAttributeDeclaration
GetProductVersion ( Assembly assembly ) : string
MakeFieldName ( string name ) : string
PromoteType ( Type type, object value ) : object
ShouldInclude ( ArrayMapping arrayMapping ) : bool