Share via


INamedRouter 介面

定義

具有名稱之 的 IRouter 介面。

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

屬性

Name

路由器的名稱。 可以是 null。

方法

GetVirtualPath(VirtualPathContext)

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

(繼承來源 IRouter)
RouteAsync(RouteContext)

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

(繼承來源 IRouter)

適用於