Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.AssetPropertiesSystem.ISessionPropertiesProvider Interface Reference

Detailed Description

Class that implements the interface considering as cross-session properties provider that could restore it's session.

Inheritance diagram for Doloro.DataManagement.AssetPropertiesSystem.ISessionPropertiesProvider:
Collaboration diagram for Doloro.DataManagement.AssetPropertiesSystem.ISessionPropertiesProvider:

Public Member Functions

bool TryReadFromBinary (byte[] data)
 Attempts to read binary data and apply it to the object. More...
 
void ReadFromBinary (byte[] data)
 Reads binary data as object's content. More...
 
byte[] ToBinary ()
 Converts object's content to binary data. More...
 
bool Contains (string propertyPath)
 Checks is the property by path exists. More...
 

Properties

AssetProperty this[string path] [get]
 Provides access to property by its path withing provider's registry. More...
 

Events

Action< AssetPropertyPropertyAdded
 Occurs when new property added.
 
Action< AssetPropertyPropertyRemoved
 Occurs when property removed.
 

Member Function Documentation

◆ Contains()

bool Doloro.DataManagement.AssetPropertiesSystem.IPropertiesProvider.Contains ( string  propertyPath)
inherited

Checks is the property by path exists.

Parameters
propertyPathFull path to the property.
Returns
true in case if property has been found. false otherwise.

Implemented in Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection, and Doloro.DataManagement.AssetPropertiesSystem.PropertiesAggregator.

◆ ReadFromBinary()

void Doloro.DataManagement.Serialization.IBinaryDataProvider.ReadFromBinary ( byte[]  data)
inherited

Reads binary data as object's content.

Parameters
dataBinary data to read.

Implemented in Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.

◆ ToBinary()

byte[] Doloro.DataManagement.Serialization.IBinaryDataProvider.ToBinary ( )
inherited

Converts object's content to binary data.

Returns
Data in binary format.

Implemented in Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.

◆ TryReadFromBinary()

bool Doloro.DataManagement.Serialization.IBinaryDataProvider.TryReadFromBinary ( byte[]  data)
inherited

Attempts to read binary data and apply it to the object.

Parameters
dataBinary data to read.
Returns
true in case if data has been accepted as content.

Implemented in Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection.

Property Documentation

◆ this[string path]

AssetProperty Doloro.DataManagement.AssetPropertiesSystem.IPropertiesProvider.this[string path]
getinherited

Provides access to property by its path withing provider's registry.

Parameters
pathProperty's full path.
Returns
Property if found. null otherwise.

Implemented in Doloro.DataManagement.AssetPropertiesSystem.AssetPropertiesCollection, and Doloro.DataManagement.AssetPropertiesSystem.PropertiesAggregator.


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