Muokkaa

Jaa


UndoEngine.UndoUnit.UndoCore Method

Definition

Called by Undo() to perform an undo action.

protected:
 virtual void UndoCore();
protected virtual void UndoCore ();
abstract member UndoCore : unit -> unit
override this.UndoCore : unit -> unit
Protected Overridable Sub UndoCore ()

Remarks

The Undo method calls the UndoCore method to perform an undo operation. The Undo method itself works to maintain consistent state within the UndoEngine.UndoUnit, even in the event of an exception thrown by UndoCore.

Notes to Inheritors

Do not call the UndoCore() method directly; override it if you want, but always call the publicUndo() method to perform undo work. The Undo() method notifies the undo engine to suspend undo-operation data gathering until the current undo operation is completed. This prevents new undo units from being created in response to this unit doing work.

Applies to

See also