Export (0) Print
Expand All

DirectRouteFactoryContext Class

Represents a context that supports creating a direct route.

System.Object
  System.Web.Mvc.Routing.DirectRouteFactoryContext

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

public class DirectRouteFactoryContext

The DirectRouteFactoryContext type exposes the following members.

  NameDescription
Public methodDirectRouteFactoryContextInitializes a new instance of the DirectRouteFactoryContext class.
Top

  NameDescription
Public propertyActionsGets the action descriptors to which to create a route.
Public propertyAreaPrefixGets the route prefix, if any, defined by the area.
Public propertyControllerPrefixGets the route prefix, if any, defined by the controller.
Public propertyInlineConstraintResolverGets the inline constraint resolver.
Public propertyTargetIsActionGets a value indicating whether the route is configured at the action or controller level.
Top

  NameDescription
Public methodCreateBuilder(String)Creates a route builder that can build a route matching this context.
Public methodCreateBuilder(String, IInlineConstraintResolver)Creates a route builder that can build a route matching this context.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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