Determines whether the URL parameter contains a valid value for this constraint.
Namespace:
Mindscape.LightSpeed.Web.RoutingAssembly: Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)
Syntax
C# |
---|
public bool Match( HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection ) |
Visual Basic (Declaration) |
---|
Public Function Match ( _ httpContext As HttpContextBase, _ route As Route, _ parameterName As String, _ values As RouteValueDictionary, _ routeDirection As RouteDirection _ ) As Boolean |
Parameters
- httpContext
- Type: HttpContextBase
An object that encapsulates information about the HTTP request.
- route
- Type: Route
The object that this constraint belongs to.
- parameterName
- Type: System..::.String
The name of the parameter that is being checked.
- values
- Type: RouteValueDictionary
An object that contains the parameters for the URL.
- routeDirection
- Type: 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.