11 references to CreateEndpoint
Microsoft.AspNetCore.Routing.Microbenchmarks (11)
EndpointRoutingBenchmarkBase.cs (1)
96
return
CreateEndpoint
(template, metadata: new object[]
LinkGeneration\LinkGenerationGithubBenchmark.generated.cs (1)
1511
return
CreateEndpoint
(
LinkGeneration\SingleRouteRouteValuesAddressSchemeBenchmark.cs (1)
23
SetupEndpoints(
CreateEndpoint
(template, defaults, requiredValues: requiredValues, routeName: "ProductDetails"));
LinkGeneration\SingleRouteWithConstraintsBenchmark.cs (1)
25
SetupEndpoints(
CreateEndpoint
(template, defaults, requiredValues: requiredValues));
LinkGeneration\SingleRouteWithNoParametersBenchmark.cs (1)
25
SetupEndpoints(
CreateEndpoint
(template, defaults, requiredValues: requiredValues));
LinkGeneration\SingleRouteWithParametersBenchmark.cs (1)
25
SetupEndpoints(
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)
30
Endpoints[3] =
CreateEndpoint
("/account/{id}");
35
Endpoints[7] =
CreateEndpoint
("/v2/account/{id}");
Matching\MatcherSingleEntryBenchmark.cs (1)
21
Endpoints[0] =
CreateEndpoint
("/plaintext");