Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.StoragesDatabase.FeatureContainer Class Reference

Detailed Description

The container fro cross-session hold of the AStorageFeature data.

Inheritance diagram for Doloro.InvetorySystem.StoragesDatabase.FeatureContainer:
Collaboration diagram for Doloro.InvetorySystem.StoragesDatabase.FeatureContainer:

Public Member Functions

 FeatureContainer ()
 Empty constructor.
 
 FeatureContainer (string type)
 
 FeatureContainer (string type, byte[] data)
 
 FeatureContainer (Type type)
 
 FeatureContainer (Type type, byte[] data)
 
 FeatureContainer (SerializationInfo info, StreamingContext context)
 Allows to binary serializer instantiate the object from binary. 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

string type [get, set]
 Type of the AStorageFeature instance stored at the container.
 
byte[] data [get, set]
 Data that defines property content in binary format.
 
bool isEmpty [get]
 Checks is the container contains a data.
 
Guid id [get]
 Unique id of the container.. More...
 

Events

static Action< ContainerType > ContainerModified
 Occurs when any container state has been somehow modified.
 
Action< ContainerType > Modified
 Occurs when a container state has been somehow modified.
 

Constructor & Destructor Documentation

◆ FeatureContainer()

Doloro.InvetorySystem.StoragesDatabase.FeatureContainer.FeatureContainer ( SerializationInfo  info,
StreamingContext  context 
)

Allows to binary serializer instantiate the object from binary.

Parameters
info
context

Member Function Documentation

◆ Clone()

virtual object Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >.Clone ( )
virtualinherited

Clones data container.

Returns
Cloned instance.

◆ GetObjectData()

virtual void Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
virtualinherited

Calling by binary serializer to get object's data.

Parameters
info
context

Property Documentation

◆ id

Guid Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >.id
getinherited

Unique id of the container..

Generates new in case if undefined.


The documentation for this class was generated from the following file: