CommandBase Class |
Namespace: SD.Tools.Algorithmia.Commands
The CommandBase type exposes the following members.
Name | Description | |
---|---|---|
CommandBase |
Initializes a new instance of the CommandBase class.
| |
CommandBase(String) |
Initializes a new instance of the CommandBase class.
|
Name | Description | |
---|---|---|
AfterDoAction |
Gets or sets the after Do action, which is an action executed right after Do has been called on this command
| |
AfterUndoAction |
Gets or sets the after Undo action, which is an action executed right after Undo has been called on this command
| |
BeforeDoAction |
Gets or sets the before Do action, which is an action executed right before Do is called on this command
| |
BeforeUndoAction |
Gets or sets the before Undo action, which is an action executed right before Undo is called on this command
| |
Description |
Gets or sets the description of the command. This description can be used to show the commands in a queue visually on a screen.
| |
OwnCommandQueue |
Gets the own command queue of this command. This queue is then used to store commands which are spawned when this command is executed.
|
Name | Description | |
---|---|---|
Do |
Executes the command.
| |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Undo |
Undo's the action done with Do.
|