C# 클래스 Solita.Episerver.WebApi.Attributes.ValidateWebApiModelAttribute

Checks if any of the parameters is null or has bad modelstate. Returns HttpStatusCode.BadRequest in both cases. It is strongly advised to use dto objects, and hide your possible null objects to the model object.
상속: System.Web.Http.Filters.ActionFilterAttribute
파일 보기 프로젝트 열기: solita/episerver-webapi

공개 메소드들

메소드 설명
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void

메소드 상세

OnActionExecuting() 공개 메소드

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext ac ) : void
ac System.Web.Http.Controllers.HttpActionContext
리턴 void