DirectRouteFactoryContext Constructor (String, String, IReadOnlyCollection<ActionDescriptor>, IInlineConstraintResolver, Boolean)
Initializes a new instance of the DirectRouteFactoryContext class.
Namespace: System.Web.Mvc.Routing
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public DirectRouteFactoryContext(
string areaPrefix,
string controllerPrefix,
IReadOnlyCollection<ActionDescriptor> actions,
IInlineConstraintResolver inlineConstraintResolver,
bool targetIsAction
)
public:
DirectRouteFactoryContext(
String^ areaPrefix,
String^ controllerPrefix,
IReadOnlyCollection<ActionDescriptor^>^ actions,
IInlineConstraintResolver^ inlineConstraintResolver,
bool targetIsAction
)
new :
areaPrefix:string *
controllerPrefix:string *
actions:IReadOnlyCollection<ActionDescriptor> *
inlineConstraintResolver:IInlineConstraintResolver *
targetIsAction:bool -> DirectRouteFactoryContext
Public Sub New (
areaPrefix As String,
controllerPrefix As String,
actions As IReadOnlyCollection(Of ActionDescriptor),
inlineConstraintResolver As IInlineConstraintResolver,
targetIsAction As Boolean
)
Parameters
areaPrefix
Type: System.StringThe route prefix, if any, defined by the area.
controllerPrefix
Type: System.StringThe route prefix, if any, defined by the controller.
actions
Type: System.Collections.Generic.IReadOnlyCollection<ActionDescriptor>The action descriptors to which to create a route.
inlineConstraintResolver
Type: System.Web.Mvc.Routing.IInlineConstraintResolverThe inline constraint resolver.
targetIsAction
Type: System.BooleanA value indicating whether the route is configured at the action or controller level.
See Also
DirectRouteFactoryContext Class
System.Web.Mvc.Routing Namespace
Return to top