Table of Contents

Interface ICommandService

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll
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 CommandDefinitionBase

The command definition for the command.

layoutItem ILayoutItem

The 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

CommandDefinitionBase

GetTargetableCommand(Command)

TargetableCommand GetTargetableCommand(Command command)

Parameters

command Command

Returns

TargetableCommand