IEndpointConventionBuilder.Finally(Action<EndpointBuilder>) 方法

定义

注册指定的约定,以便在通过 注册约定后执行 Add(Action<EndpointBuilder>)

public virtual void Finally (Action<Microsoft.AspNetCore.Builder.EndpointBuilder> finallyConvention);
abstract member Finally : Action<Microsoft.AspNetCore.Builder.EndpointBuilder> -> unit
override this.Finally : Action<Microsoft.AspNetCore.Builder.EndpointBuilder> -> unit
Public Overridable Sub Finally (finallyConvention As Action(Of EndpointBuilder))

参数

finallyConvention
Action<EndpointBuilder>

要添加到生成器的约定。

适用于