103 instantiations of RouteEndpointBuilder
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)
53var routeEndpointBuidler = new RouteEndpointBuilder(
Builder\RazorComponentEndpointFactory.cs (1)
33var builder = new RouteEndpointBuilder(
Builder\ResourceCollectionUrlEndpoint.cs (6)
249var fingerprintedGzBuilder = new RouteEndpointBuilder( 254var fingerprintedBuilder = new RouteEndpointBuilder( 259var fingerprintedBuilderConeg = new RouteEndpointBuilder( 266var gzBuilder = new RouteEndpointBuilder( 271var builder = new RouteEndpointBuilder( 276var builderConeg = new RouteEndpointBuilder(
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
HotReloadServiceTests.cs (1)
265yield return new RouteEndpointBuilder(
RazorComponentEndpointDataSourceTest.cs (2)
268yield return new RouteEndpointBuilder( 281yield return new RouteEndpointBuilder(
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
148var builder = new RouteEndpointBuilder(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
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.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (2)
2842var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/test/pattern"), order: 0); 3078EndpointBuilder = new RouteEndpointBuilder(null, RoutePatternFactory.Parse("/"), order: 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.Core (3)
Routing\ActionEndpointFactory.cs (3)
105var builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, route.Order) 151var builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, action.AttributeRouteInfo.Order) 218var builder = new RouteEndpointBuilder(context => Task.CompletedTask, pattern, route.Order)
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 (2)
EndpointDataSource.cs (1)
55var routeEndpointBuilder = new RouteEndpointBuilder(routeEndpoint.RequestDelegate, fullRoutePattern, routeEndpoint.Order)
RouteEndpointDataSource.cs (1)
174RouteEndpointBuilder builder = new(redirectRequestDelegate, pattern, order)
Microsoft.AspNetCore.Routing.Tests (13)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
24var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0); 242var conventionBuilder = new DefaultEndpointConventionBuilder(new RouteEndpointBuilder(
Matching\CandidateSetTest.cs (1)
372var builder = new RouteEndpointBuilder(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
RouteEndpointBuilderTest.cs (8)
16var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 23var ex = Assert.Throws<ArgumentNullException>(() => new RouteEndpointBuilder(context => Task.CompletedTask, routePattern: null, 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);
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetEndpointFactory.cs (1)
21var routeEndpointBuilder = new RouteEndpointBuilder(
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
59var endpointBuilder = new RouteEndpointBuilder(
133 references to RouteEndpointBuilder
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 (13)
Builder\OpaqueRedirection.cs (1)
53var routeEndpointBuidler = new RouteEndpointBuilder(
Builder\RazorComponentEndpointFactory.cs (1)
33var builder = new RouteEndpointBuilder(
Builder\RenderModeEndpointProvider.cs (3)
30public abstract IEnumerable<RouteEndpointBuilder> GetEndpointBuilders( 37IEnumerable<RouteEndpointBuilder> renderModeEndpoints, 42foreach (var builder in renderModeEndpoints)
Builder\ResourceCollectionUrlEndpoint.cs (8)
53foreach (var builder in builders) 240internal IEnumerable<RouteEndpointBuilder> CreateEndpoints( 249var fingerprintedGzBuilder = new RouteEndpointBuilder( 254var fingerprintedBuilder = new RouteEndpointBuilder( 259var fingerprintedBuilderConeg = new RouteEndpointBuilder( 266var gzBuilder = new RouteEndpointBuilder( 271var builder = new RouteEndpointBuilder( 276var builderConeg = new RouteEndpointBuilder(
Microsoft.AspNetCore.Components.Endpoints.Tests (5)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (1)
230if (e is RouteEndpointBuilder rb)
HotReloadServiceTests.cs (1)
263public override IEnumerable<RouteEndpointBuilder> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
RazorComponentEndpointDataSourceTest.cs (2)
266public override IEnumerable<RouteEndpointBuilder> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder) 279public override IEnumerable<RouteEndpointBuilder> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder)
RazorComponentEndpointFactoryTest.cs (1)
117builder => ((RouteEndpointBuilder)builder).Order = -1
Microsoft.AspNetCore.Components.Server (3)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (3)
57public override IEnumerable<RouteEndpointBuilder> GetEndpointBuilders( 141internal IEnumerable<RouteEndpointBuilder> GetEndpoints() 148var builder = new RouteEndpointBuilder(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
WebAssemblyEndpointProvider.cs (3)
17public override IEnumerable<RouteEndpointBuilder> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder) 64internal IEnumerable<RouteEndpointBuilder> GetEndpoints() 71var builder = new RouteEndpointBuilder(endpoint.RequestDelegate, routeEndpoint.RoutePattern, routeEndpoint.Order);
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.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
2842var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/test/pattern"), order: 0);
RequestDelegateGenerator\SharedTypes.cs (1)
947if (builder is not RouteEndpointBuilder reb)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (1)
947if (builder is not RouteEndpointBuilder reb)
Microsoft.AspNetCore.Http.Results.Tests (27)
AcceptedAtRouteOfTResultTests.cs (1)
127var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedAtRouteResultTests.cs (1)
81var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedOfTResultTests.cs (1)
68var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
AcceptedResultTests.cs (1)
38var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
BadRequestOfTResultTests.cs (1)
111var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
BadRequestResultTests.cs (1)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ConflictOfTResultTests.cs (1)
89var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ConflictResultTests.cs (1)
52var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedAtRouteOfTResultTests.cs (1)
97var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedAtRouteResultTests.cs (1)
79var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedOfTResultTests.cs (1)
103var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
CreatedResultTests.cs (1)
69var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
InternalServerErrorOfTResultTests.cs (1)
111var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
InternalServerErrorResultTests.cs (1)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NoContentResultTests.cs (1)
48var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NotFoundOfTResultTests.cs (1)
71var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
NotFoundResultTests.cs (1)
47var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
OkOfTResultTests.cs (1)
88var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
OkResultTests.cs (1)
50var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ResultsOfTTests.Generated.cs (5)
209var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 488var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 844var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 1285var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0); 1819var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
UnprocessableEntityOfTResultTests.cs (1)
88var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
UnprocessableEntityResultTests.cs (1)
51var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
ValidationProblemResultTests.cs (1)
99var builder = new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0);
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
188var finalPattern = ((RouteEndpointBuilder)endpointBuilder).RoutePattern.RawText;
Microsoft.AspNetCore.Mvc.Core (4)
Routing\ActionEndpointFactory.cs (3)
105var builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, route.Order) 151var builder = new RouteEndpointBuilder(requestDelegate, updatedRoutePattern, action.AttributeRouteInfo.Order) 218var 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)
428if (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)
91if (endpointBuilder is not RouteEndpointBuilder routeEndpointBuilder)
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 (10)
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
79conventionBuilder.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 140if (builder is RouteEndpointBuilder routeEndpointBuilder)
EndpointDataSource.cs (1)
55var routeEndpointBuilder = new RouteEndpointBuilder(routeEndpoint.RequestDelegate, fullRoutePattern, routeEndpoint.Order)
RouteEndpointBuilder.cs (1)
30/// Constructs a new <see cref="RouteEndpointBuilder"/> instance.
RouteEndpointDataSource.cs (4)
113internal RouteEndpointBuilder GetSingleRouteEndpointBuilder() 123private RouteEndpointBuilder CreateRouteEndpointBuilder( 174RouteEndpointBuilder builder = new(redirectRequestDelegate, pattern, order) 272private 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)
165outerPattern = ((RouteEndpointBuilder)builder).RoutePattern; 169innerPattern = ((RouteEndpointBuilder)builder).RoutePattern; 246((RouteEndpointBuilder)builder).RoutePattern = RoutePatternFactory.Parse("/bar"); 282((RouteEndpointBuilder)builder).Order = 42;
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (6)
23private RouteEndpointBuilder GetRouteEndpointBuilder(IEndpointRouteBuilder endpointRouteBuilder) => 71var endpointBuilder1 = GetRouteEndpointBuilder(builder); 358var endpointBuilder1 = GetRouteEndpointBuilder(builder); 375var endpointBuilder1 = GetRouteEndpointBuilder(builder); 394var endpointBuilder1 = GetRouteEndpointBuilder(builder); 520var endpointBuilder1 = GetRouteEndpointBuilder(builder);
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (22)
25private RouteEndpointBuilder GetRouteEndpointBuilder(IEndpointRouteBuilder endpointRouteBuilder) 107var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 127var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 153var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 191var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 275var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 295var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 315var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 339var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 359var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 379var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 403var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 423var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 443var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 529var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 570var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 673var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 711var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 731var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 746var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 762var routeEndpointBuilder = GetRouteEndpointBuilder(builder); 799var routeEndpointBuilder = GetRouteEndpointBuilder(builder);
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (1)
24var endpointModel = new RouteEndpointBuilder((context) => Task.CompletedTask, RoutePatternFactory.Parse("/"), 0);
Matching\CandidateSetTest.cs (1)
372var builder = new RouteEndpointBuilder(TestConstants.EmptyRequestDelegate, RoutePatternFactory.Parse(template), order);
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);
Microsoft.AspNetCore.StaticAssets (2)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
227if (endpoint is not RouteEndpointBuilder routeEndpoint || routeEndpoint is not { RoutePattern.RawText: { } pattern })
StaticAssetEndpointFactory.cs (1)
21var routeEndpointBuilder = new RouteEndpointBuilder(
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
59var endpointBuilder = new RouteEndpointBuilder(