Method | Description | |
---|---|---|
HttpVerbConstraint ( HttpVerbs routeVerbs ) : System |
Initializes a new instance of the HttpVerbConstraint class.
|
|
Match ( System.Web.HttpContextBase httpContext, |
Determines whether the URL parameter contains a valid value for this constraint.
|
public HttpVerbConstraint ( HttpVerbs routeVerbs ) : System | ||
routeVerbs | HttpVerbs | The route verbs. |
return | System |
public Match ( System.Web.HttpContextBase httpContext, |
||
httpContext | System.Web.HttpContextBase | An object that encapsulates information about the HTTP request. |
route | The object that this constraint belongs to. | |
parameterName | String | The name of the parameter that is being checked. |
values | RouteValueDictionary | An object that contains the parameters for the URL. |
routeDirection | RouteDirection | An object that indicates whether the constraint check is being performed when an incoming request is being handled or when a URL is being generated. |
return | bool |