Sdílet prostřednictvím


DefaultDirectRouteProvider.GetActionDirectRoutes Metoda

Definice

Vytvoří RouteEntry instance na základě poskytnuté továrny a akce. Položky trasy poskytují přímé směrování na zadanou akci.

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)

Parametry

actionDescriptor
ActionDescriptor

Popisovač akce.

factories
IReadOnlyList<IDirectRouteFactory>

Továrny na přímé trasy.

constraintResolver
IInlineConstraintResolver

Překladač omezení.

Návraty

Sada položek tras.

Platí pro