次の方法で共有


IDirectRouteProvider.GetDirectRoutes メソッド

定義

コントローラーのダイレクト ルートを取得します。

public System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry> GetDirectRoutes(System.Web.Mvc.ControllerDescriptor controllerDescriptor, System.Collections.Generic.IReadOnlyList<System.Web.Mvc.ActionDescriptor> actionDescriptors, System.Web.Mvc.Routing.IInlineConstraintResolver constraintResolver);
abstract member GetDirectRoutes : System.Web.Mvc.ControllerDescriptor * System.Collections.Generic.IReadOnlyList<System.Web.Mvc.ActionDescriptor> * System.Web.Mvc.Routing.IInlineConstraintResolver -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry>
Public Function GetDirectRoutes (controllerDescriptor As ControllerDescriptor, actionDescriptors As IReadOnlyList(Of ActionDescriptor), constraintResolver As IInlineConstraintResolver) As IReadOnlyList(Of RouteEntry)

パラメーター

controllerDescriptor
ControllerDescriptor

コントローラー記述子。

actionDescriptors
IReadOnlyList<ActionDescriptor>

アクション記述子。

constraintResolver
IInlineConstraintResolver

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

戻り値

コントローラーのルート エントリのセット。

適用対象