Sdílet prostřednictvím


RouteCollectionAttributeRoutingExtensions.MapMvcAttributeRoutes Metoda

Definice

Přetížení

MapMvcAttributeRoutes(RouteCollection)

Mapuje trasy definované atributem pro aplikaci.

MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider)

Mapuje trasy definované atributem pro aplikaci.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver)

Mapuje trasy definované atributem pro aplikaci.

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider)

Mapuje trasy definované atributem pro aplikaci.

MapMvcAttributeRoutes(RouteCollection)

Mapuje trasy definované atributem pro aplikaci.

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)

Parametry

routes
RouteCollection

Kolekce tras.

Platí pro

MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider)

Mapuje trasy definované atributem pro aplikaci.

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)

Parametry

directRouteProvider
IDirectRouteProvider

Slouží IDirectRouteProvider k mapování tras.

Platí pro

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver)

Mapuje trasy definované atributem pro aplikaci.

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)

Parametry

routes
RouteCollection

Kolekce tras.

constraintResolver
IInlineConstraintResolver

Slouží IInlineConstraintResolver k řešení vložených omezení v šablonách tras.

Platí pro

MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider)

Mapuje trasy definované atributem pro aplikaci.

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)

Parametry

constraintResolver
IInlineConstraintResolver

Slouží IInlineConstraintResolver k řešení vložených omezení v šablonách tras.

directRouteProvider
IDirectRouteProvider

Slouží IDirectRouteProvider k mapování tras.

Platí pro