Table of Contents

Interface ICommandFilters

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

Defines a system that can filter commands based on discovered ICommandFilter implementations.

public interface ICommandFilters
Extension Methods

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.