Method | Description | |
---|---|---|
HttpParameterBindingValidationActionFilterAttribute ( ) : System |
Initializes a new instance of the HttpParameterBindingValidationActionFilterAttribute class.
|
|
HttpParameterBindingValidationActionFilterAttribute ( IEnumerable |
Initializes a new instance of the HttpParameterBindingValidationActionFilterAttribute class.
|
|
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void |
Method | Description | |
---|---|---|
IsMatch ( HttpParameterDescriptor parameterDescriptor, |
||
NamesMatch ( String modelBinderPropertyName, String bodyParameterPropertyName ) : Boolean | ||
TypesMatch ( Type modelBinderPropertyType, Type bodyParameterPropertyType ) : Boolean | ||
Validate ( System.Web.Http.Controllers.HttpActionContext actionContext, IEnumerable |
public HttpParameterBindingValidationActionFilterAttribute ( ) : System | ||
return | System |
public HttpParameterBindingValidationActionFilterAttribute ( IEnumerable |
||
httpMethods | IEnumerable |
The filterable methods. |
return | System |
protected IsMatch ( HttpParameterDescriptor parameterDescriptor, |
||
parameterDescriptor | HttpParameterDescriptor | |
propertyDescriptor | ||
return | Boolean |
protected NamesMatch ( String modelBinderPropertyName, String bodyParameterPropertyName ) : Boolean | ||
modelBinderPropertyName | String | |
bodyParameterPropertyName | String | |
return | Boolean |
public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void | ||
actionContext | System.Web.Http.Controllers.HttpActionContext | |
return | void |
protected TypesMatch ( Type modelBinderPropertyType, Type bodyParameterPropertyType ) : Boolean | ||
modelBinderPropertyType | Type | |
bodyParameterPropertyType | Type | |
return | Boolean |
protected Validate ( System.Web.Http.Controllers.HttpActionContext actionContext, IEnumerable |
||
actionContext | System.Web.Http.Controllers.HttpActionContext | |
parameterDescriptors | IEnumerable |
|
return | void |