Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType > Class Template Reference

Detailed Description

Base data container class.

Type of data container that implements its base features.

Type Constraints
ContainerType :ADataContainer 
Inheritance diagram for Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >:
Collaboration diagram for Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >:

Public Member Functions

 ADataContainer ()
 Creates new empty container
 
 ADataContainer (Guid id)
 Creates data container with predefined id. More...
 
 ADataContainer (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...
 
 ADataContainer ()
 Creates new empty container
 
 ADataContainer (Guid id)
 Creates data container with predefined id. More...
 

Protected Member Functions

virtual void OnModified ()
 Should be called any time when some important runtime property is changed.
 

Properties

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

◆ ADataContainer() [1/3]

Creates data container with predefined id.

Parameters
idId to set.

◆ ADataContainer() [2/3]

Doloro.InvetorySystem.StoragesDatabase.ADataContainer< ContainerType >.ADataContainer ( SerializationInfo  info,
StreamingContext  context 
)

Allows to binary serializer instantiate the object from binary.

Parameters
info
context

◆ ADataContainer() [3/3]

Creates data container with predefined id.

Parameters
idId to set.

Member Function Documentation

◆ Clone()

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

Clones data container.

Returns
Cloned instance.

◆ GetObjectData()

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

Calling by binary serializer to get object's data.

Parameters
info
context

Property Documentation

◆ id

Unique id of the container..

Generates new in case if undefined.


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