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