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

Inheritance: Zetbox.Generator.MemberTemplate
显示文件 Open project: daszat/zetbox

Protected Properties

Property Type Description
containingType DataType
ctx IZetboxContext
name String
property System.Property
serializationList Serialization.SerializationMembersList

Public Methods

Method Description
Call ( Arebis _host, IZetboxContext ctx, Serialization serializationList, DataType containingType, String name, System.Property property ) : void
Generate ( ) : void
ListProperty ( Arebis _host, IZetboxContext ctx, Serialization serializationList, DataType containingType, String name, System.Property property ) : System

Protected Methods

Method Description
AddSerialization ( Serialization list, string name ) : void
ApplyAttributesTemplate ( ) : void

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

ApplyRequisitesTemplate ( ) : void

Is called to insert requisites into the containing class, like wrappers or similar.

ApplySettor ( ) : void
BackingMemberFromName ( string name ) : string
GetBackingTypeString ( ) : string
GetInitialisationExpression ( ) : string
GetPropertyTypeString ( ) : string

Method Details

AddSerialization() protected method

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

ApplyAttributesTemplate() protected method

Is called to apply optional decoration in front of the property declaration, like Attributes.
protected ApplyAttributesTemplate ( ) : void
return void

ApplyRequisitesTemplate() protected method

Is called to insert requisites into the containing class, like wrappers or similar.
protected ApplyRequisitesTemplate ( ) : void
return void

ApplySettor() protected method

protected ApplySettor ( ) : void
return void

BackingMemberFromName() protected method

protected BackingMemberFromName ( string name ) : string
name string
return string

Call() public static method

public static Call ( Arebis _host, IZetboxContext ctx, Serialization serializationList, DataType containingType, String name, System.Property property ) : void
_host Arebis
ctx IZetboxContext
serializationList Serialization
containingType DataType
name String
property System.Property
return void

Generate() public method

public Generate ( ) : void
return void

GetBackingTypeString() protected method

protected GetBackingTypeString ( ) : string
return string

GetInitialisationExpression() protected method

protected GetInitialisationExpression ( ) : string
return string

GetPropertyTypeString() protected method

protected GetPropertyTypeString ( ) : string
return string

ListProperty() public method

public ListProperty ( Arebis _host, IZetboxContext ctx, Serialization serializationList, DataType containingType, String name, System.Property property ) : System
_host Arebis
ctx IZetboxContext
serializationList Serialization
containingType DataType
name String
property System.Property
return System

Property Details

containingType protected_oe property

protected DataType containingType
return DataType

ctx protected_oe property

protected IZetboxContext ctx
return IZetboxContext

name protected_oe property

protected String name
return String

property protected_oe property

protected Property,System property
return System.Property

serializationList protected_oe property

protected Serialization.SerializationMembersList serializationList
return Serialization.SerializationMembersList