103 instantiations of RouteEndpointBuilder
Microsoft.AspNetCore.Authorization.Test (10)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (10)
25
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
43
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
62
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
81
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
100
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
133
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
156
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
182
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
208
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
232
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Components.Endpoints (8)
Builder\OpaqueRedirection.cs (1)
53
var routeEndpointBuidler = new
RouteEndpointBuilder
(
Builder\RazorComponentEndpointFactory.cs (1)
33
var builder = new
RouteEndpointBuilder
(
Builder\ResourceCollectionUrlEndpoint.cs (6)
249
var fingerprintedGzBuilder = new
RouteEndpointBuilder
(
254
var fingerprintedBuilder = new
RouteEndpointBuilder
(
259
var fingerprintedBuilderConeg = new
RouteEndpointBuilder
(
266
var gzBuilder = new
RouteEndpointBuilder
(
271
var builder = new
RouteEndpointBuilder
(
276
var builderConeg = new
RouteEndpointBuilder
(
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
HotReloadServiceTests.cs (1)
265
yield return new
RouteEndpointBuilder
(
RazorComponentEndpointDataSourceTest.cs (2)
268
yield return new
RouteEndpointBuilder
(
281
yield return new
RouteEndpointBuilder
(
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
148
var builder = new
RouteEndpointBuilder
(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (3)
301
var originalEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0);
361
var originalEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0);
364
var newEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/new"), 0);
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (2)
2842
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/test/pattern"), order: 0);
3078
EndpointBuilder = new
RouteEndpointBuilder
(null, RoutePatternFactory.Parse("/"), order: 0),
Microsoft.AspNetCore.Http.Results.Tests (54)
AcceptedAtRouteOfTResultTests.cs (2)
127
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
154
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<AcceptedAtRoute<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedAtRouteResultTests.cs (2)
81
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
107
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<AcceptedAtRoute>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedOfTResultTests.cs (2)
68
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
95
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Accepted<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
AcceptedResultTests.cs (2)
38
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
64
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Accepted>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
BadRequestOfTResultTests.cs (2)
111
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
138
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<BadRequest<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
BadRequestResultTests.cs (2)
51
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
77
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<BadRequest>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ConflictOfTResultTests.cs (2)
89
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
116
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Conflict<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ConflictResultTests.cs (2)
52
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
78
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Conflict>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedAtRouteOfTResultTests.cs (2)
97
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
124
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<CreatedAtRoute<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedAtRouteResultTests.cs (2)
79
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
105
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<CreatedAtRoute>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedOfTResultTests.cs (2)
103
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
130
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Created<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
CreatedResultTests.cs (2)
69
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
95
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Created>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
InternalServerErrorOfTResultTests.cs (2)
111
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
138
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<InternalServerError<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
InternalServerErrorResultTests.cs (2)
51
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
77
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<InternalServerError>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NoContentResultTests.cs (2)
48
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
74
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NoContent>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NotFoundOfTResultTests.cs (2)
71
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
98
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NotFound<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
NotFoundResultTests.cs (2)
47
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
73
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<NotFound>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
OkOfTResultTests.cs (2)
88
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
115
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Ok<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
OkResultTests.cs (2)
50
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
76
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Ok>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ResultsOfTTests.Generated.cs (10)
209
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
223
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
488
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
503
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
844
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
860
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
1285
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
1302
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4, ProvidesMetadataResult5>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
1819
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
1837
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Results<ProvidesMetadataResult1, ProvidesMetadataResult2, ProvidesMetadataResult3, ProvidesMetadataResult4, ProvidesMetadataResult5, ProvidesMetadataResult6>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
UnprocessableEntityOfTResultTests.cs (2)
88
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
115
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<UnprocessableEntity<object>>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
UnprocessableEntityResultTests.cs (2)
51
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
77
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<UnprocessableEntity>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
ValidationProblemResultTests.cs (2)
99
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
126
Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<ValidationProblem>(null, new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
Microsoft.AspNetCore.Mvc.Core (3)
Routing\ActionEndpointFactory.cs (3)
105
var builder = new
RouteEndpointBuilder
(requestDelegate, updatedRoutePattern, route.Order)
151
var builder = new
RouteEndpointBuilder
(requestDelegate, updatedRoutePattern, action.AttributeRouteInfo.Order)
218
var builder = new
RouteEndpointBuilder
(context => Task.CompletedTask, pattern, route.Order)
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMetricsTests.cs (2)
196
var routeEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
271
var routeEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Routing (2)
EndpointDataSource.cs (1)
55
var routeEndpointBuilder = new
RouteEndpointBuilder
(routeEndpoint.RequestDelegate, fullRoutePattern, routeEndpoint.Order)
RouteEndpointDataSource.cs (1)
174
RouteEndpointBuilder builder =
new
(redirectRequestDelegate, pattern, order)
Microsoft.AspNetCore.Routing.Tests (13)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
24
var endpointModel = new
RouteEndpointBuilder
((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
242
var conventionBuilder = new DefaultEndpointConventionBuilder(new
RouteEndpointBuilder
(
Matching\CandidateSetTest.cs (1)
372
var builder = new
RouteEndpointBuilder
(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
RouteEndpointBuilderTest.cs (8)
16
var builder = new
RouteEndpointBuilder
(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
23
var ex = Assert.Throws<ArgumentNullException>(() => new
RouteEndpointBuilder
(context => Task.CompletedTask, routePattern: null, order: 0));
34
var builder = new
RouteEndpointBuilder
(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
57
var builder = new
RouteEndpointBuilder
(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
85
var builder = new
RouteEndpointBuilder
(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
105
var builder = new
RouteEndpointBuilder
(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
126
var builder = new
RouteEndpointBuilder
(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
153
var builder = new
RouteEndpointBuilder
(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder);
RoutingMetricsTests.cs (2)
27
var routeEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0);
57
var routeEndpointBuilder = new
RouteEndpointBuilder
(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0);
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetEndpointFactory.cs (1)
21
var routeEndpointBuilder = new
RouteEndpointBuilder
(
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
59
var endpointBuilder = new
RouteEndpointBuilder
(
133 references to RouteEndpointBuilder
Microsoft.AspNetCore.Authorization.Test (10)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (10)
25
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
43
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
62
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
81
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
100
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
133
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
156
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
182
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
208
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
232
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Components.Endpoints (13)
Builder\OpaqueRedirection.cs (1)
53
var
routeEndpointBuidler = new RouteEndpointBuilder(
Builder\RazorComponentEndpointFactory.cs (1)
33
var
builder = new RouteEndpointBuilder(
Builder\RenderModeEndpointProvider.cs (3)
30
public abstract IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(
37
IEnumerable<
RouteEndpointBuilder
> renderModeEndpoints,
42
foreach (
var
builder in renderModeEndpoints)
Builder\ResourceCollectionUrlEndpoint.cs (8)
53
foreach (
var
builder in builders)
240
internal IEnumerable<
RouteEndpointBuilder
> CreateEndpoints(
249
var
fingerprintedGzBuilder = new RouteEndpointBuilder(
254
var
fingerprintedBuilder = new RouteEndpointBuilder(
259
var
fingerprintedBuilderConeg = new RouteEndpointBuilder(
266
var
gzBuilder = new RouteEndpointBuilder(
271
var
builder = new RouteEndpointBuilder(
276
var
builderConeg = new RouteEndpointBuilder(
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (1)
230
if (e is
RouteEndpointBuilder
rb)
HotReloadServiceTests.cs (1)
263
public override IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
RazorComponentEndpointDataSourceTest.cs (2)
266
public override IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
279
public override IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
RazorComponentEndpointFactoryTest.cs (1)
117
builder => ((
RouteEndpointBuilder
)builder).Order = -1
Microsoft.AspNetCore.Components.Server (3)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (3)
57
public override IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(
141
internal IEnumerable<
RouteEndpointBuilder
> GetEndpoints()
148
var
builder = new RouteEndpointBuilder(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
WebAssemblyEndpointProvider.cs (3)
17
public override IEnumerable<
RouteEndpointBuilder
> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
64
internal IEnumerable<
RouteEndpointBuilder
> GetEndpoints()
71
var
builder = new RouteEndpointBuilder(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
Microsoft.AspNetCore.Diagnostics.Tests (3)
ExceptionHandlerMiddlewareTest.cs (3)
301
var
originalEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0);
361
var
originalEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/path"), 0);
364
var
newEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/new"), 0);
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
2842
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/test/pattern"), order: 0);
RequestDelegateGenerator\SharedTypes.cs (1)
947
if (builder is not
RouteEndpointBuilder
reb)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
947
if (builder is not
RouteEndpointBuilder
reb)
Microsoft.AspNetCore.Http.Results.Tests (27)
AcceptedAtRouteOfTResultTests.cs (1)
127
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedAtRouteResultTests.cs (1)
81
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedOfTResultTests.cs (1)
68
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedResultTests.cs (1)
38
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
BadRequestOfTResultTests.cs (1)
111
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
BadRequestResultTests.cs (1)
51
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ConflictOfTResultTests.cs (1)
89
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ConflictResultTests.cs (1)
52
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedAtRouteOfTResultTests.cs (1)
97
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedAtRouteResultTests.cs (1)
79
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedOfTResultTests.cs (1)
103
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedResultTests.cs (1)
69
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
InternalServerErrorOfTResultTests.cs (1)
111
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
InternalServerErrorResultTests.cs (1)
51
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NoContentResultTests.cs (1)
48
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NotFoundOfTResultTests.cs (1)
71
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NotFoundResultTests.cs (1)
47
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
OkOfTResultTests.cs (1)
88
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
OkResultTests.cs (1)
50
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ResultsOfTTests.Generated.cs (5)
209
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
488
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
844
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
1285
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
1819
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
UnprocessableEntityOfTResultTests.cs (1)
88
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
UnprocessableEntityResultTests.cs (1)
51
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ValidationProblemResultTests.cs (1)
99
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
188
var finalPattern = ((
RouteEndpointBuilder
)endpointBuilder).RoutePattern.RawText;
Microsoft.AspNetCore.Mvc.Core (4)
Routing\ActionEndpointFactory.cs (3)
105
var
builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, route.Order)
151
var
builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, action.AttributeRouteInfo.Order)
218
var
builder = new RouteEndpointBuilder(context => Task.CompletedTask, pattern, route.Order)
Routing\ControllerActionEndpointDataSource.cs (1)
149
((
RouteEndpointBuilder
)b).Order = order.Value;
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\EndpointMetadataProviderTest.cs (1)
428
if (builder is not
RouteEndpointBuilder
reb)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionEndpointDataSource.cs (1)
89
((
RouteEndpointBuilder
)b).Order = order.Value;
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiEndpointConventionBuilderExtensions.cs (1)
91
if (endpointBuilder is not
RouteEndpointBuilder
routeEndpointBuilder)
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMetricsTests.cs (2)
196
var
routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
271
var
routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Microsoft.AspNetCore.Routing (10)
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
79
conventionBuilder.Add(b => ((
RouteEndpointBuilder
)b).Order = int.MaxValue);
Builder\RoutingEndpointConventionBuilderExtensions.cs (2)
130
/// Sets the <see cref="
RouteEndpointBuilder
.Order"/> to the provided <paramref name="order"/> for all
140
if (builder is
RouteEndpointBuilder
routeEndpointBuilder)
EndpointDataSource.cs (1)
55
var
routeEndpointBuilder = new RouteEndpointBuilder(routeEndpoint.RequestDelegate, fullRoutePattern, routeEndpoint.Order)
RouteEndpointBuilder.cs (1)
30
/// Constructs a new <see cref="
RouteEndpointBuilder
"/> instance.
RouteEndpointDataSource.cs (4)
113
internal
RouteEndpointBuilder
GetSingleRouteEndpointBuilder()
123
private
RouteEndpointBuilder
CreateRouteEndpointBuilder(
174
RouteEndpointBuilder
builder = new(redirectRequestDelegate, pattern, order)
272
private RequestDelegateFactoryOptions CreateRdfOptions(RouteEntry entry, RoutePattern pattern,
RouteEndpointBuilder
builder)
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
42
((
RouteEndpointBuilder
)endpoint).Order = int.MaxValue;
Microsoft.AspNetCore.Routing.Tests (43)
Builder\GroupTest.cs (4)
165
outerPattern = ((
RouteEndpointBuilder
)builder).RoutePattern;
169
innerPattern = ((
RouteEndpointBuilder
)builder).RoutePattern;
246
((
RouteEndpointBuilder
)builder).RoutePattern = RoutePatternFactory.Parse("/bar");
282
((
RouteEndpointBuilder
)builder).Order = 42;
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (6)
23
private
RouteEndpointBuilder
GetRouteEndpointBuilder(IEndpointRouteBuilder endpointRouteBuilder) =>
71
var
endpointBuilder1 = GetRouteEndpointBuilder(builder);
358
var
endpointBuilder1 = GetRouteEndpointBuilder(builder);
375
var
endpointBuilder1 = GetRouteEndpointBuilder(builder);
394
var
endpointBuilder1 = GetRouteEndpointBuilder(builder);
520
var
endpointBuilder1 = GetRouteEndpointBuilder(builder);
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (22)
25
private
RouteEndpointBuilder
GetRouteEndpointBuilder(IEndpointRouteBuilder endpointRouteBuilder)
107
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
127
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
153
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
191
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
275
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
295
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
315
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
339
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
359
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
379
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
403
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
423
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
443
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
529
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
570
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
673
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
711
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
731
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
746
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
762
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
799
var
routeEndpointBuilder = GetRouteEndpointBuilder(builder);
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
24
var
endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Matching\CandidateSetTest.cs (1)
372
var
builder = new RouteEndpointBuilder(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
RouteEndpointBuilderTest.cs (7)
16
var
builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
34
var
builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
57
var
builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
85
var
builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
105
var
builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
126
var
builder = new RouteEndpointBuilder(RequestDelegate, RoutePatternFactory.Parse("/"), defaultOrder)
153
var
builder = new RouteEndpointBuilder(requestDelegate, RoutePatternFactory.Parse("/"), defaultOrder);
RoutingMetricsTests.cs (2)
27
var
routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0);
57
var
routeEndpointBuilder = new RouteEndpointBuilder(c => Task.CompletedTask, RoutePatternFactory.Parse("/{hi}"), order: 0);
Microsoft.AspNetCore.StaticAssets (2)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
227
if (endpoint is not
RouteEndpointBuilder
routeEndpoint || routeEndpoint is not { RoutePattern.RawText: { } pattern })
StaticAssetEndpointFactory.cs (1)
21
var
routeEndpointBuilder = new RouteEndpointBuilder(
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
59
var
endpointBuilder = new RouteEndpointBuilder(