Synced
EditorEditGesture.Constructor
Section titled “EditorEditGesture.Constructor”
- Begins an edit whose updates use the existing domain mutation and History protocols.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public Inno.Editor.Interactions.EditorEditGesture.EditorEditGesture(Inno.Editor.Interactions.IEditorHistory history, string name)Parameters
Section titled “Parameters”Parameter history: The authoritative History for the current editor session.
Parameter name: The operation name displayed by Undo and Redo after a successful commit.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The History owner is null.
Exception T:System.InvalidOperationException: History cannot begin a transaction in its current state.