Class StateChangedManager
Struct bundling all state management flags required to implement stateful artifacts.
Inheritance
System.Object
StateChangedManager
Namespace: Reaqtive
Assembly: Reaqtive.Core.dll
Syntax
public sealed class StateChangedManager : ValueType
Properties
StateChanged
Gets or sets whether the artifact's state has changed since the last checkpoint.
Declaration
public bool StateChanged { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
LoadState()
Indicates that state has been loaded from storage.
Declaration
public void LoadState()
OnStateSaved()
Indicates that the state captured during SaveState has been successfully committed to persistent storage.
Declaration
public void OnStateSaved()
SaveState()
Indicates that state has been captured for getting saved to storage. Notice that a subsequent call to OnStateSaved is required to toggle the StateChanged flag upon successful persistence.
Declaration
public void SaveState()