C# Class TesApi.Attributes.ValidateModelStateAttribute

Model state validation attribute
Inheritance: ActionFilterAttribute
显示文件 Open project: microsoft/CromwellOnAzure

Public Methods

Method Description
OnActionExecuting ( ActionExecutingContext context ) : void

Called before the action method is invoked

Private Methods

Method Description
ValidateAttributes ( ParameterInfo parameter, object args, ModelStateDictionary modelState ) : void

Method Details

OnActionExecuting() public method

Called before the action method is invoked
public OnActionExecuting ( ActionExecutingContext context ) : void
context ActionExecutingContext
return void