Click or drag to resize
BaseRouteConstraintMatch Method (IHttpContext, String, IDictionaryString, Object, Boolean)
Determines whether the URL parameter contains a valid value for this constraint.

Namespace: Kentico.Web.Mvc.Internal
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
protected abstract bool Match(
	IHttpContext httpContext,
	string routeKey,
	IDictionary<string, Object> values,
	bool isUrlGeneration
)

Parameters

httpContext
Type: CMS.Base.InternalIHttpContext
An object that encapsulates information about the HTTP request.
routeKey
Type: SystemString
The name of the parameter that is being checked.
values
Type: System.Collections.GenericIDictionaryString, Object
An object that contains the parameters for the URL.
isUrlGeneration
Type: SystemBoolean
indicates whether the constraint check is being performed when an incoming request is being handled or when a URL is being generated.

Return Value

Type: Boolean
true if the URL parameter contains a valid value; otherwise, false.
See Also