Share via


RouteCollection 클래스

정의

여러 경로에 대한 컬렉션 관리를 지원합니다.

public ref class RouteCollection : Microsoft::AspNetCore::Routing::IRouteCollection, Microsoft::AspNetCore::Routing::IRouter
public class RouteCollection : Microsoft.AspNetCore.Routing.IRouteCollection, Microsoft.AspNetCore.Routing.IRouter
type RouteCollection = class
    interface IRouteCollection
    interface IRouter
Public Class RouteCollection
Implements IRouteCollection, IRouter
상속
RouteCollection
구현

생성자

RouteCollection()

여러 경로에 대한 컬렉션 관리를 지원합니다.

속성

Count

컬렉션에 등록된 총 경로 수를 가져옵니다.

Item[Int32]

지정된 인덱스에서 경로를 가져옵니다.

메서드

Add(IRouter)

에 정의된 경로 컬렉션을 추가합니다 router.

GetVirtualPath(VirtualPathContext)

제공된 경로 세부 정보와 연결된 URL을 반환합니다. context

RouteAsync(RouteContext)

현재 context를 기반으로 비동기적으로 라우팅합니다.

적용 대상