CommandTState Methods |
The CommandTState generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Do |
Executes the command.
(Overrides CommandBaseDo.) | |
| DoNow(Action) |
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
| |
| DoNow(Action, Action) |
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
| |
| DoNow(Action, Action, String) |
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Redo |
Re-executes the command. Normally this is simply calling 'Do', however in an undoable period redo it's calling PerformRedo.
(Inherited from CommandBase.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Undo |
Undo's the action done with Do.
(Overrides CommandBaseUndo.) |