Class HistoryEditor
public class HistoryEditor : IHistoryEditor
- Inheritance
-
HistoryEditor
- Implements
- Inherited Members
Constructors
HistoryEditor()
public HistoryEditor()
Properties
App
public AppNodeModel? App { get; set; }
Property Value
Methods
DeleteVersions(params uint[])
Delete the specified versions
public Task DeleteVersions(params uint[] sequenceNumber)
Parameters
sequenceNumberuint[]
Returns
LoadHistory(IReadOnlyList<IEvent>)
public void LoadHistory(IReadOnlyList<IEvent> events)
Parameters
eventsIReadOnlyList<IEvent>
NameVersion(uint, string)
Set or change the name of the specified version
public void NameVersion(uint sequenceNumber, string versionName)
Parameters
OptimizeHistory()
public Task OptimizeHistory()
Returns
ProcessEvents(EditorController, IReadOnlyList<IEvent>)
Add new events to the history managed by this editor, sending them through the GUI controller as necessary
public void ProcessEvents(EditorController c, IReadOnlyList<IEvent> events)
Parameters
cEditorControllereventsIReadOnlyList<IEvent>
SaveHistory()
public IEnumerable<IEvent> SaveHistory()
Returns
ViewVersion(uint)
public Task ViewVersion(uint sequenceNumber)
Parameters
sequenceNumberuint
Returns
Events
ErrorOccurred
public event Action<ErrorDescription>? ErrorOccurred