11 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Microbenchmarks (11)
EndpointRoutingBenchmarkBase.cs (1)
96return CreateEndpoint(template, metadata: new object[]
LinkGeneration\LinkGenerationGithubBenchmark.generated.cs (1)
1511return CreateEndpoint(
LinkGeneration\SingleRouteRouteValuesAddressSchemeBenchmark.cs (1)
23SetupEndpoints(CreateEndpoint(template, defaults, requiredValues: requiredValues, routeName: "ProductDetails"));
LinkGeneration\SingleRouteWithConstraintsBenchmark.cs (1)
25SetupEndpoints(CreateEndpoint(template, defaults, requiredValues: requiredValues));
LinkGeneration\SingleRouteWithNoParametersBenchmark.cs (1)
25SetupEndpoints(CreateEndpoint(template, defaults, requiredValues: requiredValues));
LinkGeneration\SingleRouteWithParametersBenchmark.cs (1)
25SetupEndpoints(CreateEndpoint(template, defaults, requiredValues: requiredValues));
Matching\CreateMatcherRegexConstraintBenchmark.cs (2)
22? CreateEndpoint("/plaintext" + i + "/{param:regex(^\\d{{7}}|(SI[[PG]]|JPA|DEM)\\d{{4}})}") 23: CreateEndpoint("/plaintext" + i + "/{param:regex(^" + i + "\\d{{7}}|(SI[[PG]]|JPA|DEM)\\d{{4}})}");
Matching\MatcherBuilderMultipleEntryBenchmark.cs (2)
30Endpoints[3] = CreateEndpoint("/account/{id}"); 35Endpoints[7] = CreateEndpoint("/v2/account/{id}");
Matching\MatcherSingleEntryBenchmark.cs (1)
21Endpoints[0] = CreateEndpoint("/plaintext");