RouteGroupContext.Prefix Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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