DefaultDirectRouteProvider Class

 

A default implementation of IDirectRouteProvider.

Namespace:   System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.Routing.DefaultDirectRouteProvider

Syntax

public class DefaultDirectRouteProvider : IDirectRouteProvider
public ref class DefaultDirectRouteProvider : IDirectRouteProvider
type DefaultDirectRouteProvider = 
    class
        interface IDirectRouteProvider
    end
Public Class DefaultDirectRouteProvider
    Implements IDirectRouteProvider

Constructors

Name Description
System_CAPS_pubmethod DefaultDirectRouteProvider()

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetActionDirectRoutes(HttpActionDescriptor, IReadOnlyList<IDirectRouteFactory>, IInlineConstraintResolver)

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

System_CAPS_protmethod GetActionRouteFactories(HttpActionDescriptor)

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

System_CAPS_protmethod GetControllerDirectRoutes(HttpControllerDescriptor, IReadOnlyList<HttpActionDescriptor>, 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.

System_CAPS_protmethod GetControllerRouteFactories(HttpControllerDescriptor)

Gets route factories for the given controller descriptor.

System_CAPS_pubmethod GetDirectRoutes(HttpControllerDescriptor, IReadOnlyList<HttpActionDescriptor>, IInlineConstraintResolver)

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetRoutePrefix(HttpControllerDescriptor)

Gets the route prefix from the provided controller.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.Routing Namespace

Return to top