C# Class Zetbox.Generator.Templates.Properties.CalculatedProperty

Inheritance: Zetbox.Generator.MemberTemplate
Show file Open project: daszat/zetbox

Protected Properties

Property Type Description
className string
ctx IZetboxContext
disableExport bool
getterEventName string
isCompound bool
modulenamespace string
propertyName string
referencedType string
serializationList Serialization.SerializationMembersList

Public Methods

Method Description
CalculatedProperty ( Arebis _host, IZetboxContext ctx, Serialization serializationList, string modulenamespace, string className, string referencedType, string propertyName, string getterEventName, bool isCompound, bool disableExport ) : System
Call ( Arebis host, IZetboxContext ctx, Serialization serList, CalculatedObjectReferenceProperty prop ) : void
Call ( Arebis _host, IZetboxContext ctx, Serialization serializationList, string modulenamespace, string className, string referencedType, string propertyName, string getterEventName, bool isCompound, bool disableExport ) : void
Generate ( ) : void

Protected Methods

Method Description
AddSerialization ( Serialization list, string name ) : void
ApplyBackingStorageDefinition ( ) : string
ApplyResultExpression ( ) : string
ApplyStorageStatement ( string valueExpression ) : string

Method Details

AddSerialization() protected method

protected AddSerialization ( Serialization list, string name ) : void
list Serialization
name string
return void

ApplyBackingStorageDefinition() protected method

protected ApplyBackingStorageDefinition ( ) : string
return string

ApplyResultExpression() protected method

protected ApplyResultExpression ( ) : string
return string

ApplyStorageStatement() protected method

protected ApplyStorageStatement ( string valueExpression ) : string
valueExpression string
return string

CalculatedProperty() public method

public CalculatedProperty ( Arebis _host, IZetboxContext ctx, Serialization serializationList, string modulenamespace, string className, string referencedType, string propertyName, string getterEventName, bool isCompound, bool disableExport ) : System
_host Arebis
ctx IZetboxContext
serializationList Serialization
modulenamespace string
className string
referencedType string
propertyName string
getterEventName string
isCompound bool
disableExport bool
return System

Call() public static method

public static Call ( Arebis host, IZetboxContext ctx, Serialization serList, CalculatedObjectReferenceProperty prop ) : void
host Arebis
ctx IZetboxContext
serList Serialization
prop CalculatedObjectReferenceProperty
return void

Call() public static method

public static Call ( Arebis _host, IZetboxContext ctx, Serialization serializationList, string modulenamespace, string className, string referencedType, string propertyName, string getterEventName, bool isCompound, bool disableExport ) : void
_host Arebis
ctx IZetboxContext
serializationList Serialization
modulenamespace string
className string
referencedType string
propertyName string
getterEventName string
isCompound bool
disableExport bool
return void

Generate() public method

public Generate ( ) : void
return void

Property Details

className protected property

protected string className
return string

ctx protected property

protected IZetboxContext ctx
return IZetboxContext

disableExport protected property

protected bool disableExport
return bool

getterEventName protected property

protected string getterEventName
return string

isCompound protected property

protected bool isCompound
return bool

modulenamespace protected property

protected string modulenamespace
return string

propertyName protected property

protected string propertyName
return string

referencedType protected property

protected string referencedType
return string

serializationList protected property

protected Serialization.SerializationMembersList serializationList
return Serialization.SerializationMembersList