Route クラス

定義

ルートのインスタンスを表します。

public ref class Route : Microsoft::AspNetCore::Routing::RouteBase
public class Route : Microsoft.AspNetCore.Routing.RouteBase
type Route = class
    inherit RouteBase
Public Class Route
Inherits RouteBase
継承

コンストラクター

Route(IRouter, String, IInlineConstraintResolver)

新しい Route インスタンスを作成します。

Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

新しい Route インスタンスを作成します。

Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

新しい Route インスタンスを作成します。

プロパティ

ConstraintResolver

インライン制約の解決に使用されるリゾルバーを取得します。

(継承元 RouteBase)
Constraints

各ルートに関連付けられている制約のセットを取得します。

(継承元 RouteBase)
DataTokens

ルートに関連付けられているデータ トークンを取得します。

(継承元 RouteBase)
Defaults

各ルート パラメーターの既定値を取得します。

(継承元 RouteBase)
Name

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

(継承元 RouteBase)
ParsedTemplate

ルートに RouteTemplate 関連付けられている を取得します。

(継承元 RouteBase)
RouteTemplate

ルート テンプレートの文字列表現を取得します。

メソッド

GetVirtualPath(VirtualPathContext)

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

(継承元 RouteBase)
OnRouteMatched(RouteContext)

ルーティングが発生するたびに非同期的に実行されます。

OnVirtualPathGenerated(VirtualPathContext)

仮想パスが から context派生するたびに実行されます。

RouteAsync(RouteContext)

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

(継承元 RouteBase)
ToString()

ルートのインスタンスを表します。

(継承元 RouteBase)

適用対象