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
Methods
OnExecution(CommandContext)
Called when a command is executed.
Task<CommandResult> OnExecution(CommandContext context)
Parameters
context
CommandContextThe CommandContext for the command being executed.
Returns
- Task<CommandResult>
The CommandResult.