ICommandManager Interface
Namespace: NextDesign.Desktop
Description
Manages commands added and registered by extensions, and system commands provided by applications.
Belonging Area
Name | Description |
---|---|
Commands | A group of APIs to access commands received by the command handler. |
Property
Name | Description |
---|---|
AllCommands | List of commands |
Method
Name | Description |
---|---|
CanExecuteCommand | Checks whether the command with the specified identifier can be executed. Returns true if it can be executed. This method is used to determine whether or not an Extension can execute another Extension. |
CreateCommandParams | Creates command parameters. |
ExecuteCommand | Executes the command with the specified identifier. This method is used when executing another extension from an extension. You can also execute it without specifying a command parameter if one is not required. |
GetCommand | Gets the command with the specified identifier. Command identifiers are unique across the entire application. Command identifiers registered in extensions should be unique according to a naming rule such as $\{extension name\}.$\{command name\} . |