Class ModelStateValidationFilter
Filtro para personalizar respuestas de validaci�n de ModelState
public sealed class ModelStateValidationFilter
- Inheritance
-
objectModelStateValidationFilter
Methods
OnActionExecuted(ActionExecutedContext)
Called after the action executes, before the action result.
public void OnActionExecuted(ActionExecutedContext context)
Parameters
contextActionExecutedContextThe Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext.
OnActionExecuting(ActionExecutingContext)
Called before the action executes, after model binding is complete.
public void OnActionExecuting(ActionExecutingContext context)
Parameters
contextActionExecutingContextThe Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext.