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