C# Class NanoByte.Common.Undo.CompositeCommand

Combines multiple IUndoCommands into a single atomic transaction.
Inheritance: SimpleCommand
Mostrar archivo Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
CompositeCommand ( ) : System

Creates a new composite command.

Protected Methods

Method Description
OnExecute ( ) : void

Executes all the contained IUndoCommands in order.

OnUndo ( ) : void

Undoes all the contained IUndoCommands in reverse order.

Method Details

CompositeCommand() public method

Creates a new composite command.
public CompositeCommand ( ) : System
return System

OnExecute() protected method

Executes all the contained IUndoCommands in order.
protected OnExecute ( ) : void
return void

OnUndo() protected method

Undoes all the contained IUndoCommands in reverse order.
protected OnUndo ( ) : void
return void