C# Класс Conduit.Api.Filters.ModelStateValidationActionFilterAttribute

Наследование: ActionFilterAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
OnActionExecuting ( ActionExecutingContext context ) : void

Overrides the default model state validation from ASP.NET Core, passing any validation failures on request to API exceptions thrown here so they may be handled manually during the request pipeline.

Описание методов

OnActionExecuting() публичный Метод

Overrides the default model state validation from ASP.NET Core, passing any validation failures on request to API exceptions thrown here so they may be handled manually during the request pipeline.
API exception handled by the pipeline
public OnActionExecuting ( ActionExecutingContext context ) : void
context ActionExecutingContext HTTP context passed from the web layer
Результат void