次の方法で共有


DefaultDirectRouteProvider.GetActionDirectRoutes メソッド

定義

指定されたファクトリとアクションに基づいてインスタンスを作成 RouteEntry します。 ルート エントリは、提供されたアクションへの直接ルーティングを提供します。

protected virtual System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry> GetActionDirectRoutes(System.Web.Mvc.ActionDescriptor actionDescriptor, System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory> factories, System.Web.Mvc.Routing.IInlineConstraintResolver constraintResolver);
abstract member GetActionDirectRoutes : System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory> * System.Web.Mvc.Routing.IInlineConstraintResolver -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry>
override this.GetActionDirectRoutes : System.Web.Mvc.ActionDescriptor * System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory> * System.Web.Mvc.Routing.IInlineConstraintResolver -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry>
Protected Overridable Function GetActionDirectRoutes (actionDescriptor As ActionDescriptor, factories As IReadOnlyList(Of IDirectRouteFactory), constraintResolver As IInlineConstraintResolver) As IReadOnlyList(Of RouteEntry)

パラメーター

actionDescriptor
ActionDescriptor

アクション記述子。

factories
IReadOnlyList<IDirectRouteFactory>

ダイレクト ルートのファクトリ。

constraintResolver
IInlineConstraintResolver

制約リゾルバー。

戻り値

ルート エントリのセット。

適用対象