Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Data container that provides interface for FeatureContainer collection store.
FeatureType | Type of operating features. |
ContainerType | Type of container using in base operation and events. |
FeatureType | : | AEntityFeature | |
ContainerType | : | ADataContainer |
Public Member Functions | |
AFeaturesHolderContainer () | |
Creates new empty container | |
AFeaturesHolderContainer (Guid id) | |
Creates data container with predefined id. More... | |
void | SetFeatureState (FeatureType prop) |
Collects session data from the property and stores it in container. More... | |
void | SetFeatureState (Type propType, byte[] data) |
Collects session data from the property and stores it in container. More... | |
void | SetFeatureState (string propFullType, byte[] data) |
Collects session data from the property and stores it in container. More... | |
bool | ContainsFeatureState (FeatureType prop) |
Checks is the container contains binary data related to the property. More... | |
bool | ContainsFeatureState (Type prop) |
Checks is the container contains binary data related to the property. More... | |
bool | ContainsFeatureState (string prop) |
Checks is the container contains binary data related to the property. More... | |
bool | DropFeatureState (Type prop) |
Drops property related data. More... | |
bool | DropFeatureState (string prop) |
Drops property data. More... | |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
Calling by binary serializer to get object's data. More... | |
virtual object | Clone () |
Clones data container. More... | |
Protected Member Functions | |
virtual void | OnModified () |
Should be called any time when some important runtime property is changed. | |
Properties | |
FeatureContainer | this[Type type] [get] |
Returns FeatureContainer by type in string format in case if it exists. More... | |
FeatureContainer | this[string type] [get] |
Returns FeatureContainer by type in string format in case if it exists. More... | |
Dictionary< string, FeatureContainer > | features [get] |
Collection of FeatureType related cross-session data in binary format. | |
Guid | id [get] |
Unique id of the container.. More... | |
Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.AFeaturesHolderContainer | ( | Guid | id | ) |
Creates data container with predefined id.
id | Id to set. |
|
virtualinherited |
Clones data container.
bool Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.ContainsFeatureState | ( | FeatureType | prop | ) |
Checks is the container contains binary data related to the property.
prop | Property to check. |
true
in case if there is stored property data.bool Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.ContainsFeatureState | ( | string | prop | ) |
Checks is the container contains binary data related to the property.
prop | Property to check. |
true
in case if there is stored property data.bool Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.ContainsFeatureState | ( | Type | prop | ) |
Checks is the container contains binary data related to the property.
prop | Property to check. |
true
in case if there is stored property data.bool Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.DropFeatureState | ( | string | prop | ) |
Drops property data.
prop | Property name to release. |
bool Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.DropFeatureState | ( | Type | prop | ) |
Drops property related data.
prop | Type of the FeatureType to data release. |
|
virtualinherited |
Calling by binary serializer to get object's data.
info | |
context |
void Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.SetFeatureState | ( | FeatureType | prop | ) |
Collects session data from the property and stores it in container.
prop | Property to data save. |
void Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.SetFeatureState | ( | string | propFullType, |
byte[] | data | ||
) |
Collects session data from the property and stores it in container.
propFullType | Full name of property's type related to the data. |
data | Binary data related to the property. |
void Doloro.InvetorySystem.StoragesDatabase.AFeaturesHolderContainer< FeatureType, ContainerType >.SetFeatureState | ( | Type | propType, |
byte[] | data | ||
) |
Collects session data from the property and stores it in container.
propType | Property type related to the data. |
data | Binary data related to the property. |
|
getinherited |
Unique id of the container..
Generates new in case if undefined.
|
get |
Returns FeatureContainer by type in string format in case if it exists.
type | Type in string format received with the Type.FullName |
null
in case if not found.
|
get |
Returns FeatureContainer by type in string format in case if it exists.
type | Type of the FeatureType instance. |
null
in case if not found.