Table of Contents

Interface ICommandListHandler<TCommandDefinition>

Namespace
Gemini.Framework.Commands
Assembly
Gemini.dll

Represents an interface for a command list handler.

public interface ICommandListHandler<TCommandDefinition> : ICommandHandler where TCommandDefinition : CommandListDefinition

Type Parameters

TCommandDefinition

Type of the command list definition.

Methods

Populate(Command, List<Command>)

Populates the commands in the command list. Add your command items to the commands.

void Populate(Command command, List<Command> commands)

Parameters

command Command

Main command.

commands List<Command>

List of commands.

Run(Command)

Runs the command.

Task Run(Command command)

Parameters

command Command

Associated command.

Returns

Task

A task that represents the command execution.