Table of Contents

Interface ICommandHandler

Namespace
OneImlx.Terminal.Commands.Handlers
Assembly
OneImlx.Terminal.dll

An abstraction to handle a command request routed from a ICommandRouter.

public interface ICommandHandler

Methods

HandleCommandAsync(CommandHandlerContext)

Handles the command request.

Task<CommandHandlerResult> HandleCommandAsync(CommandHandlerContext context)

Parameters

context CommandHandlerContext

The handler context.

Returns

Task<CommandHandlerResult>

The handler result.