DirectRouteFactoryContext Class
Represents a context that supports creating a direct route.
Namespace: System.Web.Mvc.Routing
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
System.Web.Mvc.Routing.DirectRouteFactoryContext
Syntax
public class DirectRouteFactoryContext
public ref class DirectRouteFactoryContext
type DirectRouteFactoryContext = class end
Public Class DirectRouteFactoryContext
Constructors
Name | Description | |
---|---|---|
![]() |
DirectRouteFactoryContext(String, String, IReadOnlyCollection<ActionDescriptor>, IInlineConstraintResolver, Boolean) | Initializes a new instance of the DirectRouteFactoryContext class. |
Properties
Name | Description | |
---|---|---|
![]() |
Actions | Gets the action descriptors to which to create a route. |
![]() |
AreaPrefix | Gets the route prefix, if any, defined by the area. |
![]() |
ControllerPrefix | Gets the route prefix, if any, defined by the controller. |
![]() |
InlineConstraintResolver | Gets the inline constraint resolver. |
![]() |
TargetIsAction | Gets a value indicating whether the route is configured at the action or controller level. |
Methods
Name | Description | |
---|---|---|
![]() |
CreateBuilder(String) | Creates a route builder that can build a route matching this context. |
![]() |
CreateBuilder(String, IInlineConstraintResolver) | Creates a route builder that can build a route matching this context. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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.Mvc.Routing Namespace
Return to top