Table of Contents

Class CommandHandlerBase<TCommandDefinition>

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

Represents an abstract implementation of the ICommandHandler<TCommandDefinition> interface.

public abstract class CommandHandlerBase<TCommandDefinition> : ICommandHandler<TCommandDefinition>, ICommandHandler where TCommandDefinition : CommandDefinition

Type Parameters

TCommandDefinition
Inheritance
CommandHandlerBase<TCommandDefinition>
Implements
ICommandHandler<TCommandDefinition>
Derived
Inherited Members

Methods

Run(Command)

Runs the command.

public abstract Task Run(Command command)

Parameters

command Command

Associated command.

Returns

Task

A task that represents the command execution.

Update(Command)

Updates the command.

public virtual void Update(Command command)

Parameters

command Command

Command to update.