C# Class NanoByte.Common.Undo.PreExecutedCompositeCommand

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

Méthodes publiques

Méthode Description
PreExecutedCompositeCommand ( [ commands ) : System

Creates a new composite command.

Méthodes protégées

Méthode Description
OnRedo ( ) : void

Executes all the contained IUndoCommands in order.

OnUndo ( ) : void

Undoes all the contained IUndoCommands in reverse order.

Method Details

OnRedo() protected méthode

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

OnUndo() protected méthode

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

PreExecutedCompositeCommand() public méthode

Creates a new composite command.
public PreExecutedCompositeCommand ( [ commands ) : System
commands [ The commands to be contained inside the transaction.
Résultat System