C# 클래스 Zetbox.Generator.Templates.TypeBase

The basic structural template for all complex types.
파일 보기 프로젝트 열기: daszat/zetbox

보호된 프로퍼티들

프로퍼티 타입 설명
DataType DataType
ctx IZetboxContext

공개 메소드들

메소드 설명
Call ( Arebis _host, IZetboxContext ctx, DataType DataType ) : void
Generate ( ) : void
TypeBase ( Arebis _host, IZetboxContext ctx, DataType DataType ) : System

보호된 메소드들

메소드 설명
ApplyApplyChangesFromMethod ( ) : void

is called to apply a optional ApplyChangesFrom override

ApplyAttachToContextMethod ( ) : void
ApplyCalculatedProperty ( CalculatedObjectReferenceProperty prop, Serialization serList ) : void
ApplyCalculatedPropertyTemplate ( CalculatedObjectReferenceProperty prop ) : void
ApplyClassAttributeTemplate ( ) : void

Is called to apply optional decoration in front of the class declaration, like Attributes.

ApplyClassHeadTemplate ( ) : void

Is called to apply additional infrastructure to the beginning of the class.

ApplyClassTailTemplate ( ) : void

is called to apply a optional tail part within the class

ApplyCompoundObjectListTemplate ( CompoundObjectProperty prop ) : void
ApplyCompoundObjectPropertyTemplate ( CompoundObjectProperty prop ) : void
ApplyConstructorTemplate ( ) : void

Is called to apply the constructors for this class.

ApplyEnumerationListTemplate ( EnumerationProperty prop ) : void
ApplyEnumerationPropertyTemplate ( EnumerationProperty prop ) : void
ApplyGlobalPreambleTemplate ( ) : void

is called to apply a optional preamble in the global scope

ApplyListChangedEvent ( System.Property p ) : void
ApplyListProperty ( System.Property prop, Serialization serList ) : void
ApplyMethodTemplate ( Method m, int index ) : void
ApplyNamespacePreambleTemplate ( ) : void

is called to apply a optional preamble within the namespace

ApplyNamespaceTailTemplate ( ) : void

is called to apply a optional tail part within the namespace

ApplyNotifyingValueProperty ( System.Property prop, Serialization serList ) : void
ApplyObjectReferenceListTemplate ( ObjectReferenceProperty prop ) : void
ApplyObjectReferencePropertyTemplate ( ObjectReferenceProperty prop ) : void
ApplyOtherListTemplate ( System.Property prop ) : void
ApplyOtherPropertyTemplate ( System.Property prop ) : void
ApplyPropertyEvents ( System.Property p, bool isReadOnly ) : void
ApplyPropertyIsValidEvent ( System.Property p ) : void
ApplyPropertyTemplate ( System.Property p ) : void
ApplySetNewMethod ( ) : void
ApplyValueTypeListTemplate ( ValueTypeProperty prop ) : void
ApplyValueTypePropertyTemplate ( ValueTypeProperty prop ) : void
GetAdditionalImports ( ) : IEnumerable
GetBaseClass ( ) : string
GetClassModifiers ( ) : string
GetExportGuidBackingStoreReference ( ) : string
GetInheritance ( ) : string
GetInterfaces ( ) : string[]
GetTypeName ( ) : string
MethodsToGenerate ( ) : IEnumerable

A list of all methods that should be generated for this datatype. By default these are only the methods defined directly on this datatype.

MungeClassName ( string name ) : string

메소드 상세

ApplyApplyChangesFromMethod() 보호된 메소드

is called to apply a optional ApplyChangesFrom override
protected ApplyApplyChangesFromMethod ( ) : void
리턴 void

ApplyAttachToContextMethod() 보호된 메소드

protected ApplyAttachToContextMethod ( ) : void
리턴 void

ApplyCalculatedProperty() 보호된 메소드

protected ApplyCalculatedProperty ( CalculatedObjectReferenceProperty prop, Serialization serList ) : void
prop CalculatedObjectReferenceProperty
serList Serialization
리턴 void

ApplyCalculatedPropertyTemplate() 보호된 메소드

protected ApplyCalculatedPropertyTemplate ( CalculatedObjectReferenceProperty prop ) : void
prop CalculatedObjectReferenceProperty
리턴 void

ApplyClassAttributeTemplate() 보호된 메소드

Is called to apply optional decoration in front of the class declaration, like Attributes.
protected ApplyClassAttributeTemplate ( ) : void
리턴 void

ApplyClassHeadTemplate() 보호된 메소드

Is called to apply additional infrastructure to the beginning of the class.
protected ApplyClassHeadTemplate ( ) : void
리턴 void

ApplyClassTailTemplate() 보호된 메소드

is called to apply a optional tail part within the class
protected ApplyClassTailTemplate ( ) : void
리턴 void

ApplyCompoundObjectListTemplate() 보호된 메소드

protected ApplyCompoundObjectListTemplate ( CompoundObjectProperty prop ) : void
prop CompoundObjectProperty
리턴 void

ApplyCompoundObjectPropertyTemplate() 보호된 메소드

protected ApplyCompoundObjectPropertyTemplate ( CompoundObjectProperty prop ) : void
prop CompoundObjectProperty
리턴 void

ApplyConstructorTemplate() 보호된 메소드

Is called to apply the constructors for this class.
protected ApplyConstructorTemplate ( ) : void
리턴 void

ApplyEnumerationListTemplate() 보호된 메소드

protected ApplyEnumerationListTemplate ( EnumerationProperty prop ) : void
prop EnumerationProperty
리턴 void

ApplyEnumerationPropertyTemplate() 보호된 메소드

protected ApplyEnumerationPropertyTemplate ( EnumerationProperty prop ) : void
prop EnumerationProperty
리턴 void

ApplyGlobalPreambleTemplate() 보호된 메소드

is called to apply a optional preamble in the global scope
protected ApplyGlobalPreambleTemplate ( ) : void
리턴 void

ApplyListChangedEvent() 보호된 메소드

protected ApplyListChangedEvent ( System.Property p ) : void
p System.Property
리턴 void

ApplyListProperty() 보호된 메소드

protected ApplyListProperty ( System.Property prop, Serialization serList ) : void
prop System.Property
serList Serialization
리턴 void

ApplyMethodTemplate() 보호된 메소드

protected ApplyMethodTemplate ( Method m, int index ) : void
m Method
index int
리턴 void

ApplyNamespacePreambleTemplate() 보호된 메소드

is called to apply a optional preamble within the namespace
protected ApplyNamespacePreambleTemplate ( ) : void
리턴 void

ApplyNamespaceTailTemplate() 보호된 메소드

is called to apply a optional tail part within the namespace
protected ApplyNamespaceTailTemplate ( ) : void
리턴 void

ApplyNotifyingValueProperty() 보호된 메소드

protected ApplyNotifyingValueProperty ( System.Property prop, Serialization serList ) : void
prop System.Property
serList Serialization
리턴 void

ApplyObjectReferenceListTemplate() 보호된 메소드

protected ApplyObjectReferenceListTemplate ( ObjectReferenceProperty prop ) : void
prop ObjectReferenceProperty
리턴 void

ApplyObjectReferencePropertyTemplate() 보호된 메소드

protected ApplyObjectReferencePropertyTemplate ( ObjectReferenceProperty prop ) : void
prop ObjectReferenceProperty
리턴 void

ApplyOtherListTemplate() 보호된 메소드

protected ApplyOtherListTemplate ( System.Property prop ) : void
prop System.Property
리턴 void

ApplyOtherPropertyTemplate() 보호된 메소드

protected ApplyOtherPropertyTemplate ( System.Property prop ) : void
prop System.Property
리턴 void

ApplyPropertyEvents() 보호된 메소드

protected ApplyPropertyEvents ( System.Property p, bool isReadOnly ) : void
p System.Property
isReadOnly bool
리턴 void

ApplyPropertyIsValidEvent() 보호된 메소드

protected ApplyPropertyIsValidEvent ( System.Property p ) : void
p System.Property
리턴 void

ApplyPropertyTemplate() 보호된 메소드

protected ApplyPropertyTemplate ( System.Property p ) : void
p System.Property
리턴 void

ApplySetNewMethod() 보호된 메소드

protected ApplySetNewMethod ( ) : void
리턴 void

ApplyValueTypeListTemplate() 보호된 메소드

protected ApplyValueTypeListTemplate ( ValueTypeProperty prop ) : void
prop ValueTypeProperty
리턴 void

ApplyValueTypePropertyTemplate() 보호된 메소드

protected ApplyValueTypePropertyTemplate ( ValueTypeProperty prop ) : void
prop ValueTypeProperty
리턴 void

Call() 공개 정적인 메소드

public static Call ( Arebis _host, IZetboxContext ctx, DataType DataType ) : void
_host Arebis
ctx IZetboxContext
DataType DataType
리턴 void

Generate() 공개 메소드

public Generate ( ) : void
리턴 void

GetAdditionalImports() 보호된 메소드

protected GetAdditionalImports ( ) : IEnumerable
리턴 IEnumerable

GetBaseClass() 보호된 메소드

protected GetBaseClass ( ) : string
리턴 string

GetClassModifiers() 보호된 메소드

protected GetClassModifiers ( ) : string
리턴 string

GetExportGuidBackingStoreReference() 보호된 메소드

protected GetExportGuidBackingStoreReference ( ) : string
리턴 string

GetInheritance() 보호된 메소드

protected GetInheritance ( ) : string
리턴 string

GetInterfaces() 보호된 메소드

protected GetInterfaces ( ) : string[]
리턴 string[]

GetTypeName() 보호된 메소드

protected GetTypeName ( ) : string
리턴 string

MethodsToGenerate() 보호된 메소드

A list of all methods that should be generated for this datatype. By default these are only the methods defined directly on this datatype.
protected MethodsToGenerate ( ) : IEnumerable
리턴 IEnumerable

MungeClassName() 보호된 메소드

protected MungeClassName ( string name ) : string
name string
리턴 string

TypeBase() 공개 메소드

public TypeBase ( Arebis _host, IZetboxContext ctx, DataType DataType ) : System
_host Arebis
ctx IZetboxContext
DataType DataType
리턴 System

프로퍼티 상세

DataType 보호되어 있는 프로퍼티

protected DataType DataType
리턴 DataType

ctx 보호되어 있는 프로퍼티

protected IZetboxContext ctx
리턴 IZetboxContext