193 references to Parse
Benchmarks (1)
StartupUsingEndpointRouting.cs (1)
36routePattern: RoutePatternFactory.Parse("/plaintext"),
DeveloperExceptionPageSample (1)
Startup.cs (1)
27RoutePatternFactory.Parse("/"),
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\RoutePatternParserTests.cs (1)
155routePattern = RoutePatternFactory.Parse(token.ValueText);
Microsoft.AspNetCore.Authorization.Test (10)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (10)
25var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 43var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 62var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 81var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 100var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 133var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 156var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 182var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 208var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 232var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Components.Endpoints (8)
Builder\OpaqueRedirection.cs (1)
55RoutePatternFactory.Parse($"/{RedirectionEndpointBaseRelativeUrl}"),
Builder\RazorComponentEndpointFactory.cs (1)
35RoutePatternFactory.Parse(pageDefinition.Route),
Builder\ResourceCollectionUrlEndpoint.cs (6)
251RoutePatternFactory.Parse(fingerprintedGzResourceCollectionUrl), 256RoutePatternFactory.Parse(fingerprintedResourceCollectionUrl), 261RoutePatternFactory.Parse(fingerprintedResourceCollectionUrl), 268RoutePatternFactory.Parse(gzResourceCollectionUrl), 273RoutePatternFactory.Parse(resourceCollectionUrl), 278RoutePatternFactory.Parse(resourceCollectionUrl),
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
HotReloadServiceTests.cs (1)
267RoutePatternFactory.Parse("/server"),
RazorComponentEndpointDataSourceTest.cs (2)
270RoutePatternFactory.Parse("/server"), 283RoutePatternFactory.Parse("/webassembly"),
RazorComponentEndpointInvokerTest.cs (1)
36RoutePatternFactory.Parse("/"),
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (11)
Logging\HttpUtilityExtensionsTests.cs (1)
42RoutePatternFactory.Parse(httpRoute),
Logging\IncomingHttpRouteUtilityTests.cs (10)
46RoutePatternFactory.Parse(httpRoute), 84RoutePatternFactory.Parse(httpRoute), 124RoutePatternFactory.Parse(httpRoute), 166RoutePatternFactory.Parse(httpRoute), 208RoutePatternFactory.Parse(httpRoute), 255RoutePatternFactory.Parse(httpRoute), 296RoutePatternFactory.Parse(httpRoute), 344RoutePatternFactory.Parse(httpRoute), 389RoutePatternFactory.Parse(httpRoute), 427RoutePatternFactory.Parse(httpRoute),
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (3)
301var originalEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0); 361var originalEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0); 364var newEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/new"), 0);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Binding\JsonTranscodingProviderServiceBinder.cs (1)
234return (RoutePatternFactory.Parse(adapter.ResolvedRouteTemplate), CreateDescriptorInfo(body, responseBody, methodDescriptor, adapter));
Microsoft.AspNetCore.Http.Extensions.Tests (4)
RequestDelegateFactoryTests.cs (4)
2842var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/test/pattern"), order: 0); 3078EndpointBuilder = new RouteEndpointBuilder(null, RoutePatternFactory.Parse("/"), order: 0), 3274var builder = new RouteEndpointBuilder(null, RoutePatternFactory.Parse("/"), 0); 3284var builder = new RouteEndpointBuilder(null, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Http.Results.Tests (54)
AcceptedAtRouteOfTResultTests.cs (2)
127var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 154Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<AcceptedAtRoute<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedAtRouteResultTests.cs (2)
81var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 107Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<AcceptedAtRoute>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedOfTResultTests.cs (2)
68var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 95Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Accepted<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedResultTests.cs (2)
38var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 64Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Accepted>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
BadRequestOfTResultTests.cs (2)
111var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 138Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<BadRequest<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
BadRequestResultTests.cs (2)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 77Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<BadRequest>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ConflictOfTResultTests.cs (2)
89var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 116Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Conflict<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ConflictResultTests.cs (2)
52var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 78Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Conflict>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedAtRouteOfTResultTests.cs (2)
97var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 124Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<CreatedAtRoute<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedAtRouteResultTests.cs (2)
79var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 105Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<CreatedAtRoute>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedOfTResultTests.cs (2)
103var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 130Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Created<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedResultTests.cs (2)
69var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 95Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Created>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
InternalServerErrorOfTResultTests.cs (2)
111var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 138Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<InternalServerError<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
InternalServerErrorResultTests.cs (2)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 77Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<InternalServerError>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NoContentResultTests.cs (2)
48var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 74Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NoContent>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NotFoundOfTResultTests.cs (2)
71var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 98Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NotFound<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NotFoundResultTests.cs (2)
47var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 73Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NotFound>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
OkOfTResultTests.cs (2)
88var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 115Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Ok<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
OkResultTests.cs (2)
50var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 76Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Ok>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ResultsOfTTests.Generated.cs (10)
209var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 223Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 488var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 503Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 844var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 860Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 1285var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 1302Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4, ProvidesMetadataResult5>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 1819var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 1837Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4, ProvidesMetadataResult5, ProvidesMetadataResult6>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
UnprocessableEntityOfTResultTests.cs (2)
88var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 115Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<UnprocessableEntity<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
UnprocessableEntityResultTests.cs (2)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 77Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<UnprocessableEntity>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ValidationProblemResultTests.cs (2)
99var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 126Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<ValidationProblem>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1553var routePattern = RoutePatternFactory.Parse(pattern ?? "/");
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
130var attributeRoutePattern = RoutePatternFactory.Parse(action.AttributeRouteInfo.Template);
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApplicationModels\EndpointMetadataProviderTest.cs (4)
104Prefix = RoutePatternFactory.Parse("/"), 147Prefix = RoutePatternFactory.Parse("/"), 168Prefix = RoutePatternFactory.Parse("/"), 189Prefix = RoutePatternFactory.Parse("/"),
Routing\ControllerActionEndpointDataSourceTest.cs (1)
426var groupPattern = RoutePatternFactory.Parse("/group1");
Routing\RoutePatternWriterTests.cs (1)
25var routePattern = RoutePatternFactory.Parse(template);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionEndpointDataSourceTest.cs (1)
144var groupPattern = RoutePatternFactory.Parse("/group1");
Microsoft.AspNetCore.OpenApi (1)
Extensions\ApiDescriptionExtensions.cs (1)
51var routePattern = RoutePatternFactory.Parse(apiDescription.RelativePath);
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
1009var routePattern = RoutePatternFactory.Parse(pattern ?? "/");
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMetricsTests.cs (2)
196var routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 271var routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Routing (9)
Builder\EndpointRouteBuilderExtensions.cs (6)
38endpoints.MapGroup(RoutePatternFactory.Parse(prefix ?? throw new ArgumentNullException(nameof(prefix)))); 154return endpoints.Map(RoutePatternFactory.Parse(pattern), requestDelegate, httpMethods); 170return Map(endpoints, RoutePatternFactory.Parse(pattern), requestDelegate); 328return endpoints.Map(RoutePatternFactory.Parse(pattern), handler, httpMethods, isFallback: false); 346return Map(endpoints, RoutePatternFactory.Parse(pattern), handler); 421return endpoints.Map(RoutePatternFactory.Parse(pattern), handler, httpMethods: null, isFallback: true);
Builder\RouteHandlerServices.cs (1)
80.AddRouteHandler(RoutePatternFactory.Parse(pattern),
Patterns\RoutePatternFactory.cs (1)
25/// Use <see cref="Parse(string)"/> to parse a route pattern in
Template\TemplateParser.cs (1)
24var inner = RoutePatternFactory.Parse(routeTemplate);
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
51var withoutDefaults = RoutePatternFactory.Parse(endpoint.RoutePattern.RawText);
Microsoft.AspNetCore.Routing.Tests (70)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (1)
81RoutePatternFactory.Parse("{*p}"),
Builder\GroupTest.cs (3)
145ex = Assert.Throws<ArgumentNullException>(() => builder!.MapGroup(RoutePatternFactory.Parse("/"))); 246((RouteEndpointBuilder)builder).RoutePattern = RoutePatternFactory.Parse("/bar"); 377RoutePatternFactory.Parse("/foo"),
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (4)
355var endpointBuilder = builder.Map(RoutePatternFactory.Parse("/"), requestDelegate); 372var endpointBuilder = builder.Map(RoutePatternFactory.Parse("/"), Handle); 391var endpointBuilder = builder.Map(RoutePatternFactory.Parse("/"), handler.Compile()); 516.Map(RoutePatternFactory.Parse("/"), context => Task.CompletedTask)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
24var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 244RoutePatternFactory.Parse("/test"),
CompositeEndpointDataSourceTest.cs (6)
43var prefix = RoutePatternFactory.Parse("/"); 71Prefix = RoutePatternFactory.Parse(""), 288var prefix = RoutePatternFactory.Parse("/prefix"); 328var prefix = RoutePatternFactory.Parse("/prefix"); 380var prefix = RoutePatternFactory.Parse("/prefix"); 439var prefix = RoutePatternFactory.Parse("/prefix");
Internal\DfaGraphWriterTest.cs (2)
47RoutePatternFactory.Parse("/"), 70RoutePatternFactory.Parse("/"),
MatcherPolicyTest.cs (1)
64RoutePatternFactory.Parse(template),
Matching\AcceptsMatcherPolicyTest.cs (1)
613RoutePatternFactory.Parse(template),
Matching\CandidateSetTest.cs (1)
372var builder = new RouteEndpointBuilder(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
Matching\DataSourceDependentMatcherTest.cs (11)
39RoutePatternFactory.Parse("a/b/c"), 64RoutePatternFactory.Parse("a/b/c"), 104RoutePatternFactory.Parse("/"), 126RoutePatternFactory.Parse("/"), 149RoutePatternFactory.Parse("/foo"), 156RoutePatternFactory.Parse("/bar"), 177RoutePatternFactory.Parse("/foo"), 184RoutePatternFactory.Parse("/bar"), 192RoutePatternFactory.Parse("/foo2"), 215RoutePatternFactory.Parse("/foo"), 228RoutePatternFactory.Parse("/bar"),
Matching\DefaultEndpointSelectorTest.cs (1)
179RoutePatternFactory.Parse(template),
Matching\EndpointComparerTest.cs (1)
246RoutePatternFactory.Parse(template),
Matching\HostMatcherPolicyTest.cs (1)
273RoutePatternFactory.Parse(template),
Matching\HttpMethodMatcherPolicyTest.cs (1)
403RoutePatternFactory.Parse(template),
Matching\RouteMatcherBuilder.cs (1)
51var withoutDefaults = RoutePatternFactory.Parse(endpoint.RoutePattern.RawText);
Patterns\InlineRouteParameterParserTest.cs (1)
269var routePattern = RoutePatternFactory.Parse(@"some/url-{p1:int:test(3)=hello}/{p2=abc}/{p3?}");
Patterns\RoutePatternFactoryTest.cs (20)
20var original = RoutePatternFactory.Parse(template); 49var original = RoutePatternFactory.Parse(template); 73var original = RoutePatternFactory.Parse(template); 98var original = RoutePatternFactory.Parse(template); 121var original = RoutePatternFactory.Parse(template); 144var original = RoutePatternFactory.Parse(template); 189var original = RoutePatternFactory.Parse(template); 225var original = RoutePatternFactory.Parse(template); 256var original = RoutePatternFactory.Parse(template); 302var original = RoutePatternFactory.Parse(template); 323var original = RoutePatternFactory.Parse(template); 359var original = RoutePatternFactory.Parse(template); 387var original = RoutePatternFactory.Parse(template); 732var left = RoutePatternFactory.Parse(leftTemplate); 733var right = RoutePatternFactory.Parse(rightTemplate); 754var left = RoutePatternFactory.Parse("/{id}"); 755var right = RoutePatternFactory.Parse("/{ID}"); 767var left = RoutePatternFactory.Parse("/a/{x=foo}"); 814var left = RoutePatternFactory.Parse("/a/{x=foo}"); 839var left = RoutePatternFactory.Parse("/a/{x:string}");
RouteEndpointBuilderTest.cs (7)
16var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 34var builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder) 57var builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder) 85var builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder) 105var builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder) 126var builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder) 153var builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder);
RoutingMetricsTests.cs (2)
27var routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0); 57var routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0);
Template\RoutePatternPrecedenceTests.cs (2)
22var parsed = RoutePatternFactory.Parse(template); 29var parameterPrecedence = RoutePatternFactory.Parse(
Tree\LinkGenerationDecisionTreeTest.cs (1)
749match.Entry.RouteTemplate = new RouteTemplate(RoutePatternFactory.Parse(routeTemplate));
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetEndpointFactory.cs (1)
23RoutePatternFactory.Parse(resource.Route),
RoutingSandbox (1)
Framework\FrameworkConfigurationBuilder.cs (1)
19AddPattern(RoutePatternFactory.Parse(pattern));