28 references to Parse
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ConventionalRouteEntry.cs (1)
40
Pattern = RoutePatternFactory.
Parse
(pattern, defaults, constraints);
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
EndpointRoutingBenchmarkBase.cs (1)
139
new RouteTemplate(RoutePatternFactory.
Parse
(
Microsoft.AspNetCore.Routing.Tests (26)
CompositeEndpointDataSourceTest.cs (1)
502
RoutePatternFactory.
Parse
(template, defaults, parameterPolicies: null),
Matching\DfaMatcherBuilderTest.cs (1)
3517
var routePattern = RoutePatternFactory.
Parse
(template, defaults, constraints);
Matching\HostMatcherPolicyIntegrationTestBase.cs (1)
421
RoutePatternFactory.
Parse
(template, defaults, constraints),
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (1)
403
RoutePatternFactory.
Parse
(template, defaults, constraints),
Matching\MatcherConformanceTest.cs (1)
39
RoutePatternFactory.
Parse
(template, defaults, constraints),
Patterns\DefaultRoutePatternTransformerTest.cs (16)
29
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
51
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
70
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
96
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
115
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
134
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
156
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
183
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
218
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
240
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
259
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
281
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
300
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
322
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
344
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
389
var original = RoutePatternFactory.
Parse
(template, defaults, policies);
Patterns\RoutePatternFactoryTest.cs (5)
768
var right = RoutePatternFactory.
Parse
("/b", defaults: new { X = "foo" }, parameterPolicies: null);
802
var left = RoutePatternFactory.
Parse
("/a", defaults: null, parameterPolicies: policies);
803
var right = RoutePatternFactory.
Parse
("/b", defaults: null, parameterPolicies: policies);
815
var right = RoutePatternFactory.
Parse
("/b", defaults: new { X = "Foo" }, parameterPolicies: null);
840
var right = RoutePatternFactory.
Parse
("/b", defaults: null, parameterPolicies: new { X = new RegexRouteConstraint("foo") });