RouteGroupContext.Conventions Właściwość

Definicja

Pobiera wszystkie konwencje dodane do wystąpień programu ancestor RouteGroupBuilder zwróconych z MapGroup(IEndpointRouteBuilder, RoutePattern) programu za pośrednictwem polecenia Add(Action<EndpointBuilder>). Należy je zastosować w kolejności podczas kompilowania każdego RouteEndpoint zwracanego z GetGroupedEndpoints(RouteGroupContext)elementu .

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

Wartość właściwości

Dotyczy