Property | Type | Description |
---|
Method | Description | |
---|---|---|
CreateProperties ( System.Entity context ) : void |
Initialises this instance. CreatePropeties is called once when the entity is constructed. Here the behaviour should create any properties required by this behaviour to function. Create properties is called before Initialise. |
|
GetFullPropertyName ( string propertyName ) : string | ||
Initialise ( INamedDataProvider initialisationData ) : void |
Initialises this instance. Initialise/Shutdown may be called multiple times, as the instance is recycled. Here the behaviour should do any setup needed to put the behaviour into its' initial state, including getting optional properties from the entity which may have been created by other behaviours, and register to any services. Initialise is called before the behaviour is added to the manager. |
|
Shutdown ( INamedDataProvider shutdownData ) : void |
Shuts down this instance. Initialise/Shutdown may be called multiple times, as the instance is recycled. Shutdown is called after the behaviour has been removed from the manager. |
Method | Description | |
---|---|---|
Behaviour ( ) : System | ||
Behaviour ( string name ) : System | ||
Initialised ( ) : void |
Indicates that this instance has all been initialised
|
public CreateProperties ( System.Entity context ) : void | ||
context | System.Entity | /// Initialisation context. This object can be used to publish properties to the owning entity. /// |
return | void |
public GetFullPropertyName ( string propertyName ) : string | ||
propertyName | string | |
return | string |
public Initialise ( INamedDataProvider initialisationData ) : void | ||
initialisationData | INamedDataProvider | /// Initialisation context. This object can be used to query properties and behaviours. /// |
return | void |
public Shutdown ( INamedDataProvider shutdownData ) : void | ||
shutdownData | INamedDataProvider | |
return | void |