Table of Contents

Class ModelStateValidationFilter

Namespace
KadicAuth.Api.Filters
Assembly
KadicAuth.Api.dll

Filtro para personalizar respuestas de validaci�n de ModelState

public sealed class ModelStateValidationFilter
Inheritance
object
ModelStateValidationFilter

Methods

OnActionExecuted(ActionExecutedContext)

Called after the action executes, before the action result.

public void OnActionExecuted(ActionExecutedContext context)

Parameters

context ActionExecutedContext

The Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext.

OnActionExecuting(ActionExecutingContext)

Called before the action executes, after model binding is complete.

public void OnActionExecuting(ActionExecutingContext context)

Parameters

context ActionExecutingContext

The Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext.