/// <summary> /// Undoes the last action. /// </summary> private async Task UndoImpl() { await Dispatcher.UIThread.InvokeAsync(() => { _undoRedoManager.Undo(); }); }
public void InitiateExecution(params object[] obj) { if (CanBeExecutedOn(obj)) { _history.Undo(); } }
/// <summary> /// Metoda wywoływana w momencie odpalenia polecenia. /// </summary> protected override void OnExecute() { undoRedoManager.Undo(); }