RouteGroupContext 클래스

정의

에 액세스할 수 있는 GetGroupedEndpoints(RouteGroupContext)정보를 나타냅니다.

public sealed class RouteGroupContext
type RouteGroupContext = class
Public NotInheritable Class RouteGroupContext
상속
RouteGroupContext

생성자

RouteGroupContext()
사용되지 않음.

에 액세스할 수 있는 GetGroupedEndpoints(RouteGroupContext)정보를 나타냅니다.

속성

ApplicationServices

IServiceProvider 애플리케이션 서비스에 액세스하는 데 사용되는 instance 가져옵니다.

Conventions

를 통해 Add(Action<EndpointBuilder>)에서 MapGroup(IEndpointRouteBuilder, RoutePattern) 반환된 상위 RouteGroupBuilder 인스턴스에 추가된 모든 규칙을 가져옵니다. 에서 반환GetGroupedEndpoints(RouteGroupContext)된 모든 RouteEndpoint 를 빌드할 때 순서대로 적용해야 합니다.

FinallyConventions

를 통해 Add(Action<EndpointBuilder>)에서 MapGroup(IEndpointRouteBuilder, RoutePattern) 반환된 상위 RouteGroupBuilder 인스턴스에 추가된 모든 규칙을 가져옵니다. 에서 반환GetGroupedEndpoints(RouteGroupContext)된 모든 RouteEndpoint 를 빌드할 때는 LIFO 순서로 적용해야 합니다.

Prefix

에 대한 호출에서 RoutePattern 반환된 모든 RouteEndpoint 인스턴스의 접두 RoutePattern 사를 지정해야 하는 를 GetGroupedEndpoints(RouteGroupContext)가져옵니다. 이 계정은 중첩된 그룹을 차지하고 에 대한 가장 안쪽 호출 MapGroup(IEndpointRouteBuilder, RoutePattern)에 제공된 접두사뿐만 아니라 전체 그룹 접두사를 제공합니다.

적용 대상