Interface ICommandFilter

Namespace
Cratis.Arc.Commands
Assembly
Cratis.Arc.Core.dll

Defines a filter that can be applied to commands.

public interface ICommandFilter
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.