RouteGroupContext.FinallyConventions 属性

定义

获取添加到通过 Add(Action<EndpointBuilder>)从 返回的MapGroup(IEndpointRouteBuilder, RoutePattern)上级RouteGroupBuilder实例的所有约定。 生成从 GetGroupedEndpoints(RouteGroupContext)返回的每个 RouteEndpoint 时,应按 LIFO 顺序应用这些。

public System.Collections.Generic.IReadOnlyList<Action<Microsoft.AspNetCore.Builder.EndpointBuilder>> FinallyConventions { get; init; }
member this.FinallyConventions : System.Collections.Generic.IReadOnlyList<Action<Microsoft.AspNetCore.Builder.EndpointBuilder>> with get, set
Public Property FinallyConventions As IReadOnlyList(Of Action(Of EndpointBuilder))

属性值

适用于