CommandTState Class |
Namespace: SD.Tools.Algorithmia.Commands
The CommandTState type exposes the following members.
Name | Description | |
---|---|---|
![]() | CommandTState(Action) |
Initializes a new instance of the CommandTState class.
|
![]() | CommandTState(Action, Action) |
Initializes a new instance of the CommandTState class.
|
![]() | CommandTState(Action, Action, String) |
Initializes a new instance of the CommandTState class.
|
![]() | CommandTState(Action, FuncTState, ActionTState) |
Initializes a new instance of the CommandTState class.
|
![]() | CommandTState(Action, FuncTState, ActionTState, String) |
Initializes a new instance of the CommandTState 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
(Inherited from CommandBase.) |
![]() | AfterUndoAction |
Gets or sets the after Undo action, which is an action executed right after Undo has been called on this command
(Inherited from CommandBase.) |
![]() | BeforeDoAction |
Gets or sets the before Do action, which is an action executed right before Do is called on this command
(Inherited from CommandBase.) |
![]() | BeforeUndoAction |
Gets or sets the before Undo action, which is an action executed right before Undo is called on this command
(Inherited from CommandBase.) |
![]() | 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.
(Inherited from CommandBase.) |
![]() | 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.
(Inherited from CommandBase.) |
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.) |