Table of Contents

Interface ICommandHandler<TCommandDefinition>

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

Represents an interface for a command handler.

public interface ICommandHandler<TCommandDefinition> : ICommandHandler where TCommandDefinition : CommandDefinition

Type Parameters

TCommandDefinition

Type of the command definition.

Methods

Run(Command)

Runs the command.

Task Run(Command command)

Parameters

command Command

Associated command.

Returns

Task

A task that represents the command execution.

Update(Command)

Updates the command.

void Update(Command command)

Parameters

command Command

Command to update.