21 implementations of Add
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationEndpointConventionBuilderExtensionsTests.cs (1)
256public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\RazorComponentsEndpointConventionBuilder.cs (1)
52public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Components.Server (1)
Builder\ComponentEndpointConventionBuilder.cs (1)
29public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Cors.Test (1)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
101public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Http.Connections (2)
ConnectionEndpointRouteBuilder.cs (1)
22public void Add(Action<EndpointBuilder> convention)
ConnectionEndpointRouteBuilderExtensions.cs (1)
142public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HttpMetricsEndpointConventionBuilderExtensionsTests.cs (1)
22public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingEndpointConventionBuilderTests.cs (1)
66public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Mvc.Core (1)
Builder\ControllerActionEndpointConventionBuilder.cs (1)
32public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Builder\PageActionEndpointConventionBuilder.cs (1)
32public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
1108public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestEndpointBuilder.cs (1)
26public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Routing (3)
Builder\RouteHandlerBuilder.cs (1)
35public void Add(Action<EndpointBuilder> convention)
RouteGroupBuilder.cs (1)
37void IEndpointConventionBuilder.Add(Action<EndpointBuilder> convention) => _conventions.Add(convention);
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
58public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.Routing.Tests (3)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
158public void Add(Action<EndpointBuilder> convention)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
261public void Add(Action<EndpointBuilder> convention) 292public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.SignalR (1)
HubEndpointConventionBuilder.cs (1)
22public void Add(Action<EndpointBuilder> convention)
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsEndpointConventionBuilder.cs (1)
33public void Add(Action<EndpointBuilder> convention)
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
82public void Add(Action<EndpointBuilder> convention)
58 references to Add
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
101.Add(b => b.Metadata.Add(new SkipStatusCodePagesAttribute()));
Microsoft.AspNetCore.Authorization.Policy (3)
AuthorizationEndpointConventionBuilderExtensions.cs (3)
127builder.Add(endpointBuilder => 137builder.Add(endpointBuilder => 151builder.Add(endpointBuilder =>
Microsoft.AspNetCore.Components.Server (3)
Builder\ComponentEndpointConventionBuilder.cs (3)
31_hubEndpoint.Add(convention); 32_disconnectEndpoint.Add(convention); 33_jsInitializersEndpoint.Add(convention);
Microsoft.AspNetCore.Cors (3)
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (3)
23builder.Add(endpointBuilder => 40builder.Add(endpointBuilder => 62builder.Add(endpointBuilder =>
Microsoft.AspNetCore.Http (3)
Timeouts\RequestTimeoutsIEndpointConventionBuilderExtensions.cs (3)
37builder.Add(b => b.Metadata.Add(new RequestTimeoutAttribute(policyName))); 49builder.Add(b => b.Metadata.Add(policy)); 61builder.Add(b => b.Metadata.Add(_disableRequestTimeoutAttribute));
Microsoft.AspNetCore.Http.Abstractions (1)
Extensions\IEndpointConventionBuilder.cs (1)
22/// via <see cref="Add(Action{EndpointBuilder})"/>
Microsoft.AspNetCore.Http.Connections (2)
ConnectionEndpointRouteBuilder.cs (1)
24_endpointConventionBuilder.Add(convention);
ConnectionEndpointRouteBuilderExtensions.cs (1)
146endpointConventionBuilder.Add(convention);
Microsoft.AspNetCore.Http.Extensions (1)
HttpMetricsEndpointConventionBuilderExtensions.cs (1)
23builder.Add(b => b.Metadata.Add(_disableHttpMetricsAttribute));
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingEndpointConventionBuilderExtensions.cs (1)
39builder.Add(endpointBuilder =>
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
472public void Add(Action<EndpointBuilder> convention) => InnerAsConventionBuilder.Add(convention);
Microsoft.AspNetCore.Mvc.Core (5)
Builder\ControllerEndpointRouteBuilderExtensions.cs (4)
213builder.Add(b => 277builder.Add(b => 337builder.Add(b => 403builder.Add(b =>
Routing\ControllerActionEndpointDataSource.cs (1)
147.Add(b =>
Microsoft.AspNetCore.Mvc.RazorPages (5)
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (4)
82builder.Add(b => 140builder.Add(b => 194builder.Add(b => 254builder.Add(b =>
Infrastructure\PageActionEndpointDataSource.cs (1)
87.Add(b =>
Microsoft.AspNetCore.OutputCaching (4)
Policies\OutputCacheConventionBuilderExtensions.cs (4)
23builder.Add(endpointBuilder => 39builder.Add(endpointBuilder => 69builder.Add(endpointBuilder => 86builder.Add(endpointBuilder =>
Microsoft.AspNetCore.RateLimiting (3)
RateLimiterEndpointConventionBuilderExtensions.cs (3)
24builder.Add(endpointBuilder => 43builder.Add(endpointBuilder => 60builder.Add(endpointBuilder =>
Microsoft.AspNetCore.Routing (13)
Builder\EndpointFilterExtensions.cs (1)
107builder.Add(endpointBuilder =>
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
79conventionBuilder.Add(b => ((RouteEndpointBuilder)b).Order = int.MaxValue);
Builder\RouteHandlerBuilder.cs (1)
45endpointConventionBuilder.Add(convention);
Builder\RoutingEndpointConventionBuilderExtensions.cs (5)
30builder.Add(endpointBuilder => 48builder.Add(b => 68builder.Add(b => 88builder.Add(b => 138builder.Add(builder =>
RouteGroupContext.cs (2)
23/// via <see cref="IEndpointConventionBuilder.Add(Action{EndpointBuilder})"/>. These should be applied in order when building every <see cref="RouteEndpoint"/> 30/// via <see cref="IEndpointConventionBuilder.Add(Action{EndpointBuilder})"/>. These should be applied in LIFO order when building every <see cref="RouteEndpoint"/>
ShortCircuit\RouteShortCircuitEndpointConventionBuilderExtensions.cs (1)
36builder.Add(b => b.Metadata.Add(metadata));
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (2)
39.Add(endpoint => 60_endpointConventionBuilder.Add(convention);
Microsoft.AspNetCore.Routing.Tests (6)
Builder\GroupTest.cs (6)
163((IEndpointConventionBuilder)outer).Add(builder => 167((IEndpointConventionBuilder)inner).Add(builder => 190((IEndpointConventionBuilder)group).Add(builder => 216((IEndpointConventionBuilder)group).Add(builder => 244((IEndpointConventionBuilder)group).Add(builder => 270((IEndpointConventionBuilder)group).Add(builder =>
Microsoft.AspNetCore.SignalR (1)
HubEndpointConventionBuilder.cs (1)
24_endpointConventionBuilder.Add(convention);
RoutingWebSite (2)
UseEndpointRoutingStartup.cs (2)
72}).Add(b => 147conventionBuilder.Add(endpointBuilder =>