TreeRouter 類別

定義

IRouter屬性路由的實作。

public ref class TreeRouter : Microsoft::AspNetCore::Routing::IRouter
public class TreeRouter : Microsoft.AspNetCore.Routing.IRouter
type TreeRouter = class
    interface IRouter
Public Class TreeRouter
Implements IRouter
繼承
TreeRouter
實作

建構函式

TreeRouter(UrlMatchingTree[], IEnumerable<OutboundRouteEntry>, UrlEncoder, ObjectPool<UriBuildingContext>, ILogger, ILogger, Int32)

建立 TreeRouter 的新執行個體。

欄位

RouteGroupKey

路由和動作選取專案用來比對屬性路由專案與動作描述元群組的索引鍵。

屬性

Version

取得此路由的版本。

方法

GetVirtualPath(VirtualPathContext)

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

RouteAsync(RouteContext)

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

適用於