ICommandManager interface
Namespace: NextDesign.Desktop
Description
Manage commands that are additionally registered with the extension and system commands provided by the application.
Area you belong to
Name | Description |
---|---|
Commands | A group of APIs that access commands received by the command handler. |
Property
Name | Description |
---|---|
AllCommands | Command list |
Method
Name | Description |
---|---|
CanExecuteCommand | Checks whether the command with the specified identifier can be executed. Returns true if executable. This method is used to determine whether it is possible to execute another Extension from one Extension. |
CreateCommandParams | Create command parameters. |
ExecuteCommand | Executes the command with the specified identifier. This method is used when executing another Extension from an Extension. Also, if a command parameter is not required, it can be executed without specifying it. |
GetCommand | Gets the command with the specified identifier. Command identifiers are unique throughout the application. Ensure uniqueness for command identifiers registered in extensions using naming rules such as ${extension name}.${command name} . |