DefaultDirectRouteProvider Class

Definition

public class DefaultDirectRouteProvider : System.Web.Mvc.Routing.IDirectRouteProvider
type DefaultDirectRouteProvider = class
    interface IDirectRouteProvider
Public Class DefaultDirectRouteProvider
Implements IDirectRouteProvider
Inheritance
DefaultDirectRouteProvider
Implements

Constructors

DefaultDirectRouteProvider()

Methods

GetActionDirectRoutes(ActionDescriptor, IReadOnlyList<IDirectRouteFactory>, IInlineConstraintResolver)

Creates RouteEntry instances based on the provided factories and action. The route entries provide direct routing to the provided action.

GetActionRouteFactories(ActionDescriptor)

Gets a set of route factories for the given action descriptor.

GetAreaPrefix(ControllerDescriptor)

Gets the area prefix from the provided controller.

GetControllerDirectRoutes(ControllerDescriptor, IReadOnlyList<ActionDescriptor>, IReadOnlyList<IDirectRouteFactory>, IInlineConstraintResolver)

Creates RouteEntry instances based on the provided factories, controller and actions. The route entries provided direct routing to the provided controller and can reach the set of provided actions.

GetControllerRouteFactories(ControllerDescriptor)

Gets route factories for the given controller descriptor.

GetDirectRoutes(ControllerDescriptor, IReadOnlyList<ActionDescriptor>, IInlineConstraintResolver)

Gets direct routes for the given controller descriptor and action descriptors based on IDirectRouteFactory attributes.

GetRoutePrefix(ControllerDescriptor)

Gets the route prefix from the provided controller.

Applies to