英語で読む

次の方法で共有


INamedRouter インターフェイス

定義

名前を持つ の IRouter インターフェイス。

C#
public interface INamedRouter : Microsoft.AspNetCore.Routing.IRouter
派生
実装

プロパティ

Name

ルーターの名前。 null を使用できます。

メソッド

GetVirtualPath(VirtualPathContext)

で指定されたルートの詳細に関連付けられている URL を返します context

(継承元 IRouter)
RouteAsync(RouteContext)

現在 contextの に基づいて非同期的にルーティングします。

(継承元 IRouter)

適用対象

製品 バージョン
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0