An interface for commandable objects, which are part of the command design pattern.
The commandable object exposes its functonality as commands and events groupped
into a CommandSet.
This interface is typically implemented by controllers and is used to auto generate
external interfaces.
An interface for commandable objects, which are part of the command design pattern. The commandable object exposes its functonality as commands and events groupped into a CommandSet.
This interface is typically implemented by controllers and is used to auto generate external interfaces.
CommandSet
Example
export class MyDataController implements ICommandable, IMyDataController { private _commandSet : MyDataCommandSet; public getCommandSet(): CommandSet { if (this._commandSet == null) this._commandSet = new MyDataCommandSet(this); return this._commandSet; } ... }
CommandSet examples