Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Class that implements API for handling the object as file system asset.
Always use asset instead of this
operator. The object itself is envelope standard reference system and guaranties you reference integrity between linked assets.
Classes | |
class | IO |
Public Member Functions | |
StorableAsset () | |
Empty constructor. | |
StorableAsset (SerializationInfo info, StreamingContext context) | |
Allows to binary serializer instantiate the object from binary. More... | |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
Converts data object to the binary dump. More... | |
void | SetDirty () |
Marks asset as modified and required save operation. | |
Protected Member Functions | |
virtual void | OnPreSave () |
Occurs before save process started. More... | |
virtual void | OnPostSave () |
Occurs after save process started. | |
Properties | |
bool | isDirty [get, set] |
Asset was modified | |
bool | isRamLocated [get] |
Is the object has no binding to the stored resource. | |
bool | isObsolete [get] |
The asset data is no longer relevant. More... | |
StorableAsset | asset [get, set] |
Reference to relevant asset. More... | |
string | StoredAssetPath [get, set] |
Path to resource binded to the instance. More... | |
Events | |
Action | AssetObsoleted |
Occurs when object became obsolete. | |
Doloro.DataManagement.Serialization.StorableAsset.StorableAsset | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Allows to binary serializer instantiate the object from binary.
info | |
context |
|
virtual |
Converts data object to the binary dump.
info | |
context |
|
protectedvirtual |
Occurs before save process started.
Reimplemented in Doloro.DataManagement.Tables.Solution, and Doloro.DataManagement.Tables.Spreadsheet.
|
getsetprotected |
Reference to relevant asset.
References itself in case if isObsolete is false.
|
getpackage |
The asset data is no longer relevant.
Occurs when object was overridden by some data operation (Load etc.) In this case reference
|
getset |
Path to resource binded to the instance.
Changes during IO.LoadAs(string), IO.SaveAs(StorableAsset, string) or manual set operation.