C# Class Xml.Schema.Linq.CodeGen.CodeDomTypesGenerator

显示文件 Open project: o2platform/O2.Platform.Projects Class Usage Examples

Public Methods

Method Description
CodeDomTypesGenerator ( LinqToXsdSettings settings ) : System
CodeDomTypesGenerator ( bool nameMangler2 ) : System
GenerateTypes ( ClrMappingInfo binding ) : IEnumerable

Private Methods

Method Description
AddDefaultImports ( CodeNamespace newCodeNamespace ) : void
CreateTypeManager ( ) : void
CreateXRoot ( CodeNamespace codeNamespace, string rootName, List elements, List namespaces ) : void
CreateXRoots ( ) : void
ForwardProperty ( CodeMemberProperty property ) : bool
GetCodeNamespace ( string clrNamespace ) : CodeNamespace
GetCodeTypeDeclaration ( string typeName, CodeNamespace innerTypeCodeNamespace ) : CodeTypeDeclaration
GetEmptyTypeBuilder ( ) : TypeBuilder
GetTypeBuilder ( ) : TypeBuilder
InitializeTypedValuePropertyInfo ( ClrTypeInfo typeInfo, ClrPropertyInfo typedValPropertyInfo, ClrTypeReference innerType ) : ClrPropertyInfo
ProcessComplexGroupProperties ( GroupingInfo grouping, List annotations ) : void
ProcessGroup ( GroupingInfo grouping, List annotations ) : void
ProcessNestedTypes ( List anonymousTypes, CodeTypeDeclaration parentTypeDecl, string parentIdentifier ) : void
ProcessProperties ( IEnumerable properties, List annotations ) : void
ProcessType ( ClrContentTypeInfo typeInfo, string parentIdentifier, bool globalType ) : CodeTypeDeclaration
ProcessWrapperTypes ( ) : void
SetFullTypeName ( ClrTypeInfo typeInfo, string parentIdentifier ) : void

Method Details

CodeDomTypesGenerator() public method

public CodeDomTypesGenerator ( LinqToXsdSettings settings ) : System
settings LinqToXsdSettings
return System

CodeDomTypesGenerator() public method

public CodeDomTypesGenerator ( bool nameMangler2 ) : System
nameMangler2 bool
return System

GenerateTypes() public method

public GenerateTypes ( ClrMappingInfo binding ) : IEnumerable
binding ClrMappingInfo
return IEnumerable