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
controllerDescriptorHttpControllerDescriptorThe controller descriptor.
actionDescriptorsIReadOnlyList<HttpActionDescriptor>The action descriptors.
constraintResolverIInlineConstraintResolverThe inline constraint resolver.
Returns
- IReadOnlyList<RouteEntry>
A set of route entries for the controller.