C# 클래스 Conduit.Api.Filters.ModelStateValidationActionFilterAttribute

상속: ActionFilterAttribute
파일 보기 프로젝트 열기: JoeyMckenzie/realword-dotnet-clean-architecture

공개 메소드들

메소드 설명
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