C# Class Umbraco.Belle.System.Trees.HttpQueryStringFilterAttribute

Allows an Action to execute with an arbitrary number of QueryStrings
Just like you can POST an arbitrary number of parameters to an Action, you can't GET an arbitrary number but this will allow you to do it
Inheritance: System.Web.Http.Filters.ActionFilterAttribute
显示文件 Open project: umbraco/Belle

Public Methods

Method Description
HttpQueryStringFilterAttribute ( string parameterName ) : System
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Method Details

HttpQueryStringFilterAttribute() public method

public HttpQueryStringFilterAttribute ( string parameterName ) : System
parameterName string
return System

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void