Compartir a través de


DefaultDirectRouteProvider.GetActionDirectRoutes Método

Definición

Crea RouteEntry instancias basadas en las factorías y la acción proporcionadas. Las entradas de ruta proporcionan una ruta directa a la acción proporcionada.

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)

Parámetros

actionDescriptor
ActionDescriptor

Descriptor de la acción.

factories
IReadOnlyList<IDirectRouteFactory>

Los generadores de ruta directa.

constraintResolver
IInlineConstraintResolver

La resolución de restricciones.

Devoluciones

Un conjunto de entradas de ruta.

Se aplica a