37 implementations of Match
Microsoft.AspNetCore.Mvc.Core (1)
Routing\KnownRouteValueConstraint.cs (1)
34public bool Match(
Microsoft.AspNetCore.Routing (24)
Constraints\BoolRouteConstraint.cs (1)
24public bool Match(
Constraints\CompositeRouteConstraint.cs (1)
38public bool Match(
Constraints\DateTimeRouteConstraint.cs (1)
30public bool Match(
Constraints\DecimalRouteConstraint.cs (1)
24public bool Match(
Constraints\DoubleRouteConstraint.cs (1)
24public bool Match(
Constraints\FileNameRouteConstraint.cs (1)
95public bool Match(
Constraints\FloatRouteConstraint.cs (1)
24public bool Match(
Constraints\GuidRouteConstraint.cs (1)
26public bool Match(
Constraints\HttpMethodRouteConstraint.cs (1)
33public virtual bool Match(
Constraints\IntRouteConstraint.cs (1)
24public bool Match(
Constraints\LengthRouteConstraint.cs (1)
80public bool Match(
Constraints\LongRouteConstraint.cs (1)
24public bool Match(
Constraints\MaxLengthRouteConstraint.cs (1)
44public bool Match(
Constraints\MaxRouteConstraint.cs (1)
38public bool Match(
Constraints\MinLengthRouteConstraint.cs (1)
44public bool Match(
Constraints\MinRouteConstraint.cs (1)
38public bool Match(
Constraints\NonFileNameRouteConstraint.cs (1)
91public bool Match(
Constraints\NullRouteConstraint.cs (1)
21public bool Match(HttpContext? httpContext, IRouter? route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
Constraints\OptionalRouteConstraint.cs (1)
38public bool Match(
Constraints\RangeRouteConstraint.cs (1)
52public bool Match(
Constraints\RegexErrorStubRouteConstraint.cs (1)
24bool IRouteConstraint.Match(HttpContext? httpContext, IRouter? route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
Constraints\RegexRouteConstraint.cs (1)
79public bool Match(
Constraints\RequiredRouteConstraint.cs (1)
19public bool Match(
Constraints\StringRouteConstraint.cs (1)
29public bool Match(HttpContext? httpContext, IRouter? route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
Microsoft.AspNetCore.Routing.Tests (10)
ConstraintMatcherTest.cs (2)
221public bool Match( 239public bool Match(
DefaultInlineConstraintResolverTest.cs (2)
384public bool Match(HttpContext httpContext, 402public bool Match(HttpContext httpContext,
DefaultLinkGeneratorTest.cs (1)
556public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
DefaultParameterPolicyFactoryTest.cs (1)
433public bool Match(
InlineRouteParameterParserTests.cs (1)
977public bool Match(HttpContext httpContext,
RouteOptionsTests.cs (1)
67public bool Match(
RoutingServiceCollectionExtensionsTests.cs (1)
56public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
TestObjects\CapturingConstraint.cs (1)
12public bool Match(
Mvc.RoutingWebSite (1)
QueryStringConstraint.cs (1)
8public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
RoutingWebSite (1)
EndsWithStringRouteConstraint.cs (1)
17public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
13 references to Match
Microsoft.AspNetCore.Mvc.Core.Test (1)
Builder\MvcAreaRouteBuilderExtensionsTest.cs (1)
250var match = kvp.Value.Match(
Microsoft.AspNetCore.Routing (7)
Constraints\CompositeRouteConstraint.cs (1)
56if (!constraint.Match(httpContext, route, routeKey, values, routeDirection))
Constraints\OptionalRouteConstraint.cs (1)
55return InnerConstraint.Match(
DefaultLinkParser.cs (1)
135if (!constraint.Match(httpContext: null, NullRouter.Instance, kvp.Key, values, RouteDirection.IncomingRequest))
Matching\DfaMatcher.cs (1)
306if (!constraint.Value.Match(httpContext, NullRouter.Instance, constraint.Key, values, RouteDirection.IncomingRequest))
Patterns\DefaultRoutePatternTransformer.cs (1)
206if (!constraint.Match(httpContext: null, NullRouter.Instance, key, requiredValues, RouteDirection.IncomingRequest))
RouteConstraintMatcher.cs (1)
65if (!constraint.Match(httpContext, route, kvp.Key, routeValues, routeDirection))
Template\TemplateBinder.cs (1)
438if (!constraint.Match(httpContext, NullRouter.Instance, parameterName, combinedValues, RouteDirection.UrlGeneration))
Microsoft.AspNetCore.Routing.Tests (5)
Constraints\CompositeRouteConstraintTests.cs (1)
36c => c.Match(
Constraints\ConstraintsTestHelper.cs (1)
13return constraint.Match(httpContext: null, route: null, parameterName, values, routeDirection);
DefaultLinkGeneratorProcessTemplateTest.cs (1)
751e => e.Match(
RouteConstraintBuilderTest.cs (1)
169constraint.Match(
RouteTest.cs (1)
958e => e.Match(