Interface ICommandService
public interface ICommandService
Methods
GetCommand(CommandDefinitionBase, ILayoutItem)
Gets the command for a command definition and layout item.
Command GetCommand(CommandDefinitionBase commandDefinition, ILayoutItem layoutItem)
Parameters
commandDefinition
CommandDefinitionBaseThe command definition for the command.
layoutItem
ILayoutItemThe layout item for the command. Null for a global command.
Returns
- Command
The associated command.
GetCommandDefinition(Type)
CommandDefinitionBase GetCommandDefinition(Type commandDefinitionType)
Parameters
commandDefinitionType
Type
Returns
GetTargetableCommand(Command)
TargetableCommand GetTargetableCommand(Command command)
Parameters
command
Command