Share via


RouteGroupContext.Conventions Property

Definition

Gets all conventions added to ancestor RouteGroupBuilder instances returned from MapGroup(IEndpointRouteBuilder, RoutePattern) via Add(Action<EndpointBuilder>). These should be applied in order when building every RouteEndpoint returned from GetGroupedEndpoints(RouteGroupContext).

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))

Property Value

Applies to