Method AddCommand
AddCommand(Action, string)
Adds a command to the queue.
Declaration
public void AddCommand(Action action, string info = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action | Action to execute. |
| string | info | Optional description for the action. |
AddCommand(Command)
Adds a preconstructed command to the queue.
Declaration
public void AddCommand(Command command)
Parameters
| Type | Name | Description |
|---|---|---|
| Command | command | The command to enqueue. |