IEndpointConventionBuilder.Finally(Action<EndpointBuilder>) Method

Definition

Registers the specified convention for execution after conventions registered via Add(Action<EndpointBuilder>)

C#
public virtual void Finally (Action<Microsoft.AspNetCore.Builder.EndpointBuilder> finallyConvention);

Parameters

finallyConvention
Action<EndpointBuilder>

The convention to add to the builder.

Applies to

Product Versions
ASP.NET Core 7.0, 8.0, 9.0