Table of Contents

Interface ICommandResultHandler

Namespace
Signal.Application.Commands
Assembly
Signal.Application.dll

Decides how the user is informed about a command's outcome. Replace it to customize error replies (e.g. localisation).

public interface ICommandResultHandler

Methods

HandleAsync(MessageContext, CommandResult)

Reacts to the outcome of a command.

Task HandleAsync(MessageContext context, CommandResult result)

Parameters

context MessageContext

The pipeline context of the triggering message.

result CommandResult

The outcome.

Returns

Task

A task that completes when the user was informed.