RouteGroupContext.Prefix Property

Definition

Gets the RoutePattern which should prefix the RoutePattern of all RouteEndpoint instances returned by the call to GetGroupedEndpoints(RouteGroupContext). This accounts for nested groups and gives the full group prefix not just the prefix supplied to the innermost call to MapGroup(IEndpointRouteBuilder, RoutePattern).

public Microsoft.AspNetCore.Routing.Patterns.RoutePattern Prefix { get; init; }
member this.Prefix : Microsoft.AspNetCore.Routing.Patterns.RoutePattern with get, set
Public Property Prefix As RoutePattern

Property Value

Applies to