메소드 | 설명 | |
---|---|---|
PhysicalUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System |
Initializes a new instance of the PhysicalUserType class.
|
메소드 | 설명 | |
---|---|---|
ExtractFieldInternal ( SymbolField field, |
Generates user type field based on the specified symbol field and all other fields that are prepared for this function. Do not use this function directly, unless you are calling it from overridden function.
|
|
GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable |
Generates the constructors.
|
|
GetAutoGeneratedFields ( bool hasNonStatic, bool useThisClass ) : IEnumerable |
Gets the automatically generated fields.
|
|
GetBaseClassTypeTree ( |
Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.
|
메소드 | 설명 | |
---|---|---|
AddFieldCodeType ( string fieldName ) : string |
Add field to the list of additionally generated field types.
|
|
IsTypeUsingStaticCodeType ( |
Determines whether the specified user type has defined static variable for class code type.
|
protected ExtractFieldInternal ( SymbolField field, |
||
field | SymbolField | The symbol field. |
fieldType | The field tree type. | |
factory | The user type factory. | |
simpleFieldValue | string | The code foe "simple field value" used when creating transformation. |
gettingField | string | The code for getting field variable. |
isStatic | bool | if set to |
generationFlags | UserTypeGenerationFlags | The user type generation flags. |
extractingBaseClass | bool | if set to |
리턴 | UserTypeField |
protected GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable |
||
generationFlags | UserTypeGenerationFlags | The user type generation flags. |
리턴 | IEnumerable |
protected GetAutoGeneratedFields ( bool hasNonStatic, bool useThisClass ) : IEnumerable |
||
hasNonStatic | bool | if set to |
useThisClass | bool | if set to |
리턴 | IEnumerable |
protected GetBaseClassTypeTree ( |
||
error | The error text writer. | |
type | Symbol | The type for which we are getting base class. |
factory | The user type factory. | |
baseClassOffset | int | The base class offset. |
리턴 |
public PhysicalUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System | ||
symbol | Symbol | The symbol we are generating this user type from. |
xmlType | XmlType | The XML description of the type. |
nameSpace | string | The namespace it belongs to. |
리턴 | System |