Interface IDirectRouteProvider
Defines a provider for routes that directly target action descriptors (attribute routes).
public interface IDirectRouteProvider
Methods
GetDirectRoutes(HttpControllerDescriptor, IReadOnlyList<HttpActionDescriptor>, IInlineConstraintResolver)
Gets the direct routes for a controller.
IReadOnlyList<RouteEntry> GetDirectRoutes(HttpControllerDescriptor controllerDescriptor, IReadOnlyList<HttpActionDescriptor> actionDescriptors, IInlineConstraintResolver constraintResolver)
Parameters
controllerDescriptor
HttpControllerDescriptorThe controller descriptor.
actionDescriptors
IReadOnlyList<HttpActionDescriptor>The action descriptors.
constraintResolver
IInlineConstraintResolverThe inline constraint resolver.
Returns
- IReadOnlyList<RouteEntry>
A set of route entries for the controller.