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

Inheritance: ClrBasePropertyInfo
ファイルを表示 Open project: o2platform/O2.Platform.Projects Class Usage Examples

Private Properties

Property Type Description
AddGetStatements void
AddListGetStatements void
AddListSetStatements void
AddMemberField void
AddSetStatements void
AddSubstGetStatements void
AddToConstructor void
AddToContentModel void
AddToType System.CodeDom.CodeMemberProperty
CheckOccurrence void
ClrPropertyInfo System
CreateDefaultValueAssignStmt System.CodeDom.CodeStatement
CreateListReturnType XCodeTypeReference
GetListParameters System.CodeDom.CodeExpression[]
GetListType System.CodeDom.CodeTypeReference
GetValueMethodCall System.CodeDom.CodeVariableDeclarationStatement
InsertDefaultFixedValueInDefaultCtor void
Reset void
SetFixedDefaultValue void
SetPropertyAttributes void
SetValueMethodCall CodeMethodInvokeExpression
ToStmtArray CodeStatement[]
UpdateTypeReference void
XNameGetExpression void

Protected Methods

Method Description
AddFixedValueChecking ( CodeStatementCollection setStatements ) : void
CreateFixedDefaultValue ( CodeTypeDeclaration typeDecl ) : void
GetSchemaDatatypeExpression ( ) : System.CodeDom.CodeExpression
GetSimpleTypeClassExpression ( ) : System.CodeDom.CodeExpression

Private Methods

Method Description
AddGetStatements ( CodeStatementCollection getStatements ) : void
AddListGetStatements ( CodeStatementCollection getStatements, CodeTypeReference listType, string listName ) : void
AddListSetStatements ( CodeStatementCollection setStatements, CodeTypeReference listType, string listName ) : void
AddMemberField ( string memberName, CodeTypeReference memberType, CodeTypeDeclaration parentType ) : void
AddSetStatements ( CodeStatementCollection setStatements ) : void
AddSubstGetStatements ( CodeStatementCollection getStatements ) : void
AddToConstructor ( CodeConstructor functionalConstructor ) : void
AddToContentModel ( CodeObjectCreateExpression contentModelExpression ) : void
AddToType ( CodeTypeDeclaration parentTypeDecl, List annotations ) : CodeMemberProperty
CheckOccurrence ( CodeStatementCollection getStatements ) : void
ClrPropertyInfo ( string propertyName, string propertyNs, string schemaName, Occurs occursInSchema ) : System
CreateDefaultValueAssignStmt ( object value ) : CodeStatement
CreateListReturnType ( string fullTypeName ) : XCodeTypeReference
GetListParameters ( bool set, bool constructor ) : System.CodeDom.CodeExpression[]
GetListType ( ) : CodeTypeReference
GetValueMethodCall ( ) : CodeVariableDeclarationStatement
InsertDefaultFixedValueInDefaultCtor ( CodeConstructor ctor ) : void
Reset ( ) : void
SetFixedDefaultValue ( ClrWrapperTypeInfo typeInfo ) : void
SetPropertyAttributes ( CodeMemberProperty clrProperty ) : void
SetValueMethodCall ( ) : CodeMethodInvokeExpression
ToStmtArray ( CodeStatementCollection collection ) : CodeStatement[]
UpdateTypeReference ( string clrFullTypeName, string currentNamespace, string>.Dictionary nameMappings ) : void
XNameGetExpression ( ) : void

Method Details

AddFixedValueChecking() protected method

protected AddFixedValueChecking ( CodeStatementCollection setStatements ) : void
setStatements System.CodeDom.CodeStatementCollection
return void

CreateFixedDefaultValue() protected method

protected CreateFixedDefaultValue ( CodeTypeDeclaration typeDecl ) : void
typeDecl System.CodeDom.CodeTypeDeclaration
return void

GetSchemaDatatypeExpression() protected method

protected GetSchemaDatatypeExpression ( ) : System.CodeDom.CodeExpression
return System.CodeDom.CodeExpression

GetSimpleTypeClassExpression() protected method

protected GetSimpleTypeClassExpression ( ) : System.CodeDom.CodeExpression
return System.CodeDom.CodeExpression