Class ValidateModelAttribute.ValidateModelFilter
Called asynchronously to execute the action filter.
Inherited Members
Namespace: DataWeb.Filter
Assembly: DataWeb.Core.dll
Syntax
public class ValidateModelAttribute.ValidateModelFilter : IAsyncActionFilter, IFilterMetadata
Methods
OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
Called asynchronously before the action, after model binding is complete.
Declaration
public Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
Parameters
Type | Name | Description |
---|---|---|
ActionExecutingContext | context | |
ActionExecutionDelegate | next | The ActionExecutionDelegate. Invoked to execute the next action filter or the action itself. |
Returns
Type | Description |
---|---|
Task | A Task that on completion indicates the filter has executed. |