IUndo |
The IUndoRedoManagerT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clear | Clear the entire undo and redo stacks. |
![]() | CompoundDo | Pushes mementos into the undo stack, any time the state of Subject changes. |
![]() | Do(IListIMementoT) | Pushes mementos into the undo stack, any time the state of Subject changes. |
![]() | Do(IMementoT) | Pushes an memento into the undo stack, any time the state of Subject changes. |
![]() | PeekRedo | Gets, without removing, the top memento on the redo stack. |
![]() | PeekUndo | Gets, without removing, the top memento on the undo stack. |
![]() | Redo | Restores the subject to the next state on the redo stack, and stores the state before redoing to undo stack. Method CanRedo can be called before calling this method. |
![]() | Undo | Restores the subject to the previous state on the undo stack, and stores the state before undoing to redo stack. Method CanUndo can be called before calling this method. |