13 implementations of Finally
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\RazorComponentsEndpointConventionBuilder.cs (1)
65public void Finally(Action<EndpointBuilder> finallyConvention)
Microsoft.AspNetCore.Components.Server (1)
Builder\ComponentEndpointConventionBuilder.cs (1)
37public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.Http.Connections (2)
ConnectionEndpointRouteBuilder.cs (1)
28public void Finally(Action<EndpointBuilder> finalConvention)
ConnectionEndpointRouteBuilderExtensions.cs (1)
150public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.Mvc.Core (1)
Builder\ControllerActionEndpointConventionBuilder.cs (1)
45public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Builder\PageActionEndpointConventionBuilder.cs (1)
45public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.Routing (3)
Builder\RouteHandlerBuilder.cs (1)
51public void Finally(Action<EndpointBuilder> finalConvention)
RouteGroupBuilder.cs (1)
38void IEndpointConventionBuilder.Finally(Action<EndpointBuilder> finalConvention) => _finallyConventions.Add(finalConvention);
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
63public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
267public void Finally(Action<EndpointBuilder> finalConvention) 304public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.SignalR (1)
HubEndpointConventionBuilder.cs (1)
28public void Finally(Action<EndpointBuilder> finalConvention)
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsEndpointConventionBuilder.cs (1)
43public void Finally(Action<EndpointBuilder> convention)
16 references to Finally
Microsoft.AspNetCore.Components.Server (3)
Builder\ComponentEndpointConventionBuilder.cs (3)
39_hubEndpoint.Finally(finalConvention); 40_disconnectEndpoint.Finally(finalConvention); 41_jsInitializersEndpoint.Finally(finalConvention);
Microsoft.AspNetCore.Http.Connections (2)
ConnectionEndpointRouteBuilder.cs (1)
30_endpointConventionBuilder.Finally(finalConvention);
ConnectionEndpointRouteBuilderExtensions.cs (1)
154endpointConventionBuilder.Finally(finalConvention);
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
473public void Finally(Action<EndpointBuilder> finallyConvention) => InnerAsConventionBuilder.Finally(finallyConvention);
Microsoft.AspNetCore.OpenApi (2)
Extensions\OpenApiEndpointConventionBuilderExtensions.cs (2)
37builder.Finally(builder => AddAndConfigureOperationForEndpoint(builder)); 57builder.Finally(endpointBuilder => AddAndConfigureOperationForEndpoint(endpointBuilder, configureOperation));
Microsoft.AspNetCore.Routing (2)
Builder\RouteHandlerBuilder.cs (1)
61endpointConventionBuilder.Finally(finalConvention);
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
65_endpointConventionBuilder.Finally(finalConvention);
Microsoft.AspNetCore.Routing.Tests (5)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
470Assert.Throws<InvalidOperationException>(() => endpointBuilder.Finally(b => b.Metadata.Add(new RouteNameMetadata("Foo"))));
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (4)
500Assert.Throws<InvalidOperationException>(() => endpointBuilder.Finally(b => b.Metadata.Add(new RouteNameMetadata("Foo")))); 1019((IEndpointConventionBuilder)group).Finally(b => 1042((IEndpointConventionBuilder)innerGroup).Finally(b => 1051((IEndpointConventionBuilder)outerGroup).Finally(b =>
Microsoft.AspNetCore.SignalR (1)
HubEndpointConventionBuilder.cs (1)
30_endpointConventionBuilder.Finally(finalConvention);