Skip to main content

ICommandDispatcher interface

Namespace: NextDesign.Extension

Description

Interface for command transfer objects.
If necessary, the extension side can implement additional implementations for the entry point (IExtension implementation class).

Next Design requests command dispatch only if the entry point implements this interface when command processing is requested.
If the entry point does not implement this interface, the function corresponding to the command is searched and called from the entry point as before.

Affiliation area

NameDescription
globalA group of APIs that access the execution environment and execution state of the extension.

Method

NameDescription
DispatchCanExecuteCommandDispatch processing to determine whether the specified command can be executed.
DispatchCommandDispatches execution of the specified command.

Annotations

If the entry point implements a dispatcher, all execution requests from Next Design to the extension will result in a call to the dispatcher.
Note that the functions previously implemented by the entry point will no longer be called.