次の方法で共有


DirectRouteFactoryContext コンストラクター

定義

DirectRouteFactoryContext クラスの新しいインスタンスを初期化します。

public DirectRouteFactoryContext(string areaPrefix, string controllerPrefix, System.Collections.Generic.IReadOnlyCollection<System.Web.Mvc.ActionDescriptor> actions, System.Web.Mvc.Routing.IInlineConstraintResolver inlineConstraintResolver, bool targetIsAction);
new System.Web.Mvc.Routing.DirectRouteFactoryContext : string * string * System.Collections.Generic.IReadOnlyCollection<System.Web.Mvc.ActionDescriptor> * System.Web.Mvc.Routing.IInlineConstraintResolver * bool -> System.Web.Mvc.Routing.DirectRouteFactoryContext
Public Sub New (areaPrefix As String, controllerPrefix As String, actions As IReadOnlyCollection(Of ActionDescriptor), inlineConstraintResolver As IInlineConstraintResolver, targetIsAction As Boolean)

パラメーター

areaPrefix
String

エリアで定義されたルート プレフィックスがある場合は、そのルート プレフィックス。

controllerPrefix
String

コントローラーで定義されたルート プレフィックスがある場合は、そのルート プレフィックス。

actions
IReadOnlyCollection<ActionDescriptor>

ルートの作成先であるアクションの説明。

inlineConstraintResolver
IInlineConstraintResolver

インライン制約のリゾルバー。

targetIsAction
Boolean

ルートがアクション レベルまたはコントローラー レベルのどちらで設定されているかを示す値。

適用対象