Show / Hide Table of Contents

Class PersistenceManager

PersistenceManager responsible for objects persistence (marking as dirty, delete, persist to DataStore).

Inheritance
System.Object
PersistenceManager
Namespace: Eco.Core.Serialization
Assembly: Eco.Core.dll
Syntax
public class PersistenceManager : Object

Constructors

PersistenceManager()

Declaration
public PersistenceManager()

Methods

AddBlob(DataBlob)

Adds blob to persistence manager. It will be persisted in next call to Eco.Core.Serialization.PersistenceManager.PersistAllAsync(Eco.Core.Serialization.DataStore.ExclusiveAccess).

Declaration
public void AddBlob(DataBlob blob)
Parameters
Type Name Description
DataBlob blob

ClearDirtyState(IStorage)

Clears dirty state for the storage.

Declaration
public void ClearDirtyState(IStorage storage)
Parameters
Type Name Description
IStorage storage

IsDirty(IStorage)

Checks if the storage is dirty.

Declaration
public bool IsDirty(IStorage storage)
Parameters
Type Name Description
IStorage storage
Returns
Type Description
System.Boolean

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾