RouteCollectionAttributeRoutingExtensions.MapMvcAttributeRoutes RouteCollectionAttributeRoutingExtensions.MapMvcAttributeRoutes RouteCollectionAttributeRoutingExtensions.MapMvcAttributeRoutes Method

Definition

Overloads

MapMvcAttributeRoutes(RouteCollection) MapMvcAttributeRoutes(RouteCollection) MapMvcAttributeRoutes(RouteCollection)

Maps the attribute-defined routes for the application.

MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider)

Maps the attribute-defined routes for the application.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver)

Maps the attribute-defined routes for the application.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider)

Maps the attribute-defined routes for the application.

MapMvcAttributeRoutes(RouteCollection) MapMvcAttributeRoutes(RouteCollection) MapMvcAttributeRoutes(RouteCollection)

Maps the attribute-defined routes for the application.

public static void MapMvcAttributeRoutes (this System.Web.Routing.RouteCollection routes);
static member MapMvcAttributeRoutes : System.Web.Routing.RouteCollection -> unit
<Extension()>
Public Sub MapMvcAttributeRoutes (routes As RouteCollection)

Parameters

routes
RouteCollection RouteCollection RouteCollection

A collection of routes.

MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider)

Maps the attribute-defined routes for the application.

public static void MapMvcAttributeRoutes (this System.Web.Routing.RouteCollection routes, System.Web.Mvc.Routing.IDirectRouteProvider directRouteProvider);
static member MapMvcAttributeRoutes : System.Web.Routing.RouteCollection * System.Web.Mvc.Routing.IDirectRouteProvider -> unit
<Extension()>
Public Sub MapMvcAttributeRoutes (routes As RouteCollection, directRouteProvider As IDirectRouteProvider)

Parameters

directRouteProvider
IDirectRouteProvider IDirectRouteProvider IDirectRouteProvider

The IDirectRouteProvider to use for mapping routes.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver)

Maps the attribute-defined routes for the application.

public static void MapMvcAttributeRoutes (this System.Web.Routing.RouteCollection routes, System.Web.Mvc.Routing.IInlineConstraintResolver constraintResolver);
static member MapMvcAttributeRoutes : System.Web.Routing.RouteCollection * System.Web.Mvc.Routing.IInlineConstraintResolver -> unit
<Extension()>
Public Sub MapMvcAttributeRoutes (routes As RouteCollection, constraintResolver As IInlineConstraintResolver)

Parameters

routes
RouteCollection RouteCollection RouteCollection

A collection of routes.

constraintResolver
IInlineConstraintResolver IInlineConstraintResolver IInlineConstraintResolver

The IInlineConstraintResolver to use for resolving inline constraints in route templates.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider) MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider)

Maps the attribute-defined routes for the application.

public static void MapMvcAttributeRoutes (this System.Web.Routing.RouteCollection routes, System.Web.Mvc.Routing.IInlineConstraintResolver constraintResolver, System.Web.Mvc.Routing.IDirectRouteProvider directRouteProvider);
static member MapMvcAttributeRoutes : System.Web.Routing.RouteCollection * System.Web.Mvc.Routing.IInlineConstraintResolver * System.Web.Mvc.Routing.IDirectRouteProvider -> unit
<Extension()>
Public Sub MapMvcAttributeRoutes (routes As RouteCollection, constraintResolver As IInlineConstraintResolver, directRouteProvider As IDirectRouteProvider)

Parameters

constraintResolver
IInlineConstraintResolver IInlineConstraintResolver IInlineConstraintResolver

The IInlineConstraintResolver to use for resolving inline constraints in route templates.

directRouteProvider
IDirectRouteProvider IDirectRouteProvider IDirectRouteProvider

The IDirectRouteProvider to use for mapping routes.

Applies to