C# Class NoteEditor.Common.Command

Mostra file Open project: setchi/NoteEditor Class Usage Examples

Public Methods

Method Description
Command ( System.Action doAction, System.Action undoAction ) : System
Command ( System.Action doAction, System.Action undoAction, System.Action redoAction ) : System
Do ( ) : void
Redo ( ) : void
Undo ( ) : void

Method Details

Command() public method

public Command ( System.Action doAction, System.Action undoAction ) : System
doAction System.Action
undoAction System.Action
return System

Command() public method

public Command ( System.Action doAction, System.Action undoAction, System.Action redoAction ) : System
doAction System.Action
undoAction System.Action
redoAction System.Action
return System

Do() public method

public Do ( ) : void
return void

Redo() public method

public Redo ( ) : void
return void

Undo() public method

public Undo ( ) : void
return void