IDirectRouteProvider.GetDirectRoutes Method (HttpControllerDescriptor, IReadOnlyList<HttpActionDescriptor>, IInlineConstraintResolver)
Gets the direct routes for a controller.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
IReadOnlyList<RouteEntry> GetDirectRoutes(
HttpControllerDescriptor controllerDescriptor,
IReadOnlyList<HttpActionDescriptor> actionDescriptors,
IInlineConstraintResolver constraintResolver
)
IReadOnlyList<RouteEntry^>^ GetDirectRoutes(
HttpControllerDescriptor^ controllerDescriptor,
IReadOnlyList<HttpActionDescriptor^>^ actionDescriptors,
IInlineConstraintResolver^ constraintResolver
)
abstract GetDirectRoutes :
controllerDescriptor:HttpControllerDescriptor *
actionDescriptors:IReadOnlyList<HttpActionDescriptor> *
constraintResolver:IInlineConstraintResolver -> IReadOnlyList<RouteEntry>
Function GetDirectRoutes (
controllerDescriptor As HttpControllerDescriptor,
actionDescriptors As IReadOnlyList(Of HttpActionDescriptor),
constraintResolver As IInlineConstraintResolver
) As IReadOnlyList(Of RouteEntry)
Parameters
controllerDescriptor
Type: System.Web.Http.Controllers.HttpControllerDescriptorThe controller descriptor.
actionDescriptors
Type: System.Collections.Generic.IReadOnlyList<HttpActionDescriptor>The action descriptors.
constraintResolver
Type: System.Web.Http.Routing.IInlineConstraintResolverThe inline constraint resolver.
Return Value
Type: System.Collections.Generic.IReadOnlyList<RouteEntry>
A set of route entries for the controller.
See Also
IDirectRouteProvider Interface
System.Web.Http.Routing Namespace
Return to top