C# Class NanoByte.Common.Undo.CompositeCommand

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

Méthodes publiques

Méthode Description
CompositeCommand ( ) : System

Creates a new composite command.

Méthodes protégées

Méthode Description
OnExecute ( ) : void

Executes all the contained IUndoCommands in order.

OnUndo ( ) : void

Undoes all the contained IUndoCommands in reverse order.

Method Details

CompositeCommand() public méthode

Creates a new composite command.
public CompositeCommand ( ) : System
Résultat System

OnExecute() protected méthode

Executes all the contained IUndoCommands in order.
protected OnExecute ( ) : void
Résultat void

OnUndo() protected méthode

Undoes all the contained IUndoCommands in reverse order.
protected OnUndo ( ) : void
Résultat void