Table of Contents

Interface ICommandFilter

Namespace
Cratis.Applications.Commands
Assembly
Cratis.Applications.dll

Defines a filter that can be applied to commands.

public interface ICommandFilter

Methods

OnExecution(CommandContext)

Called when a command is executed.

Task<CommandResult> OnExecution(CommandContext context)

Parameters

context CommandContext

The CommandContext for the command being executed.

Returns

Task<CommandResult>

The CommandResult.