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