Class CommandActionFilter
- Namespace
- Cratis.Applications.Commands
- Assembly
- Cratis.Applications.dll
Represents a IAsyncActionFilter for providing a proper CommandResult<TResponse> for post actions.
public class CommandActionFilter : IAsyncActionFilter, IFilterMetadata
- Inheritance
-
CommandActionFilter
- Implements
- Inherited Members
- Extension Methods
Methods
OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
Called asynchronously before the action, after model binding is complete.
public Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
Parameters
contextActionExecutingContextnextActionExecutionDelegateThe ActionExecutionDelegate. Invoked to execute the next action filter or the action itself.