Share via


DirectRouteFactoryContext Class

 

Represents a context that supports creating a direct route.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.Routing.DirectRouteFactoryContext

Syntax

public class DirectRouteFactoryContext
public ref class DirectRouteFactoryContext 
type DirectRouteFactoryContext = class end
Public Class DirectRouteFactoryContext

Constructors

Name Description
System_CAPS_pubmethod DirectRouteFactoryContext(String, IReadOnlyCollection<HttpActionDescriptor>, IInlineConstraintResolver, Boolean)

Initializes a new instance of theDirectRouteFactoryContext class.

Properties

Name Description
System_CAPS_pubproperty Actions

Gets the action descriptors to which to create a route.

System_CAPS_pubproperty InlineConstraintResolver

Gets the inline constraint resolver.

System_CAPS_pubproperty Prefix

Gets the route prefix, if any, defined by the controller.

System_CAPS_pubproperty TargetIsAction

Gets a value indicating whether the route is configured at the action or controller level.

Methods

Name Description
System_CAPS_pubmethod CreateBuilder(String)

Creates a route builder that can build a route matching this context.

System_CAPS_pubmethod CreateBuilder(String, IInlineConstraintResolver)

Creates a route builder that can build a route matching this context.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

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