Share via


IRouteCollection 介面

定義

支援附加新路由之路由器的介面。

public interface class IRouteCollection : Microsoft::AspNetCore::Routing::IRouter
public interface IRouteCollection : Microsoft.AspNetCore.Routing.IRouter
type IRouteCollection = interface
    interface IRouter
Public Interface IRouteCollection
Implements IRouter
衍生
實作

方法

Add(IRouter)

附加 中 router 定義的路由集合。

GetVirtualPath(VirtualPathContext)

傳回與 中提供的路由詳細資料相關聯的 URL context

(繼承來源 IRouter)
RouteAsync(RouteContext)

根據目前的 context 以非同步方式路由傳送。

(繼承來源 IRouter)

適用於