C# Class Gemini.Modules.UndoRedo.Services.UndoRedoManager

Inheritance: IUndoRedoManager
Mostra file Open project: tgjones/gemini

Public Methods

Method Description
ExecuteAction ( IUndoableAction action ) : void
Redo ( int actionCount ) : void
RedoTo ( IUndoableAction action ) : void
Undo ( int actionCount ) : void
UndoAll ( ) : void
UndoRedoManager ( ) : System
UndoTo ( IUndoableAction action ) : void

Private Methods

Method Description
EnforceLimit ( ) : void
OnBegin ( ) : void
OnEnd ( ) : void
Peek ( BindableCollection stack ) : IUndoableAction
Pop ( BindableCollection stack ) : IUndoableAction
PopFront ( BindableCollection stack ) : IUndoableAction
Push ( BindableCollection stack, IUndoableAction action ) : void

Method Details

ExecuteAction() public method

public ExecuteAction ( IUndoableAction action ) : void
action IUndoableAction
return void

Redo() public method

public Redo ( int actionCount ) : void
actionCount int
return void

RedoTo() public method

public RedoTo ( IUndoableAction action ) : void
action IUndoableAction
return void

Undo() public method

public Undo ( int actionCount ) : void
actionCount int
return void

UndoAll() public method

public UndoAll ( ) : void
return void

UndoRedoManager() public method

public UndoRedoManager ( ) : System
return System

UndoTo() public method

public UndoTo ( IUndoableAction action ) : void
action IUndoableAction
return void