DefaultDirectRouteProvider.GetControllerRouteFactories Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets route factories for the given controller descriptor.
protected virtual System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory> GetControllerRouteFactories(System.Web.Mvc.ControllerDescriptor controllerDescriptor);
abstract member GetControllerRouteFactories : System.Web.Mvc.ControllerDescriptor -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory>
override this.GetControllerRouteFactories : System.Web.Mvc.ControllerDescriptor -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.IDirectRouteFactory>
Protected Overridable Function GetControllerRouteFactories (controllerDescriptor As ControllerDescriptor) As IReadOnlyList(Of IDirectRouteFactory)
Parameters
- controllerDescriptor
- ControllerDescriptor
The controller descriptor.
Returns
A set of route factories.