RouteCollectionAttributeRoutingExtensions.MapMvcAttributeRoutes Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
MapMvcAttributeRoutes(RouteCollection) |
Mapeia as rotas definidas por atributos para o aplicativo. |
MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider) |
Mapeia as rotas definidas por atributos para o aplicativo. |
MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver) |
Mapeia as rotas definidas por atributos para o aplicativo. |
MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider) |
Mapeia as rotas definidas por atributos para o aplicativo. |
MapMvcAttributeRoutes(RouteCollection)
Mapeia as rotas definidas por atributos para o aplicativo.
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)
Parâmetros
- routes
- RouteCollection
Uma coleção de rotas.
Aplica-se a
MapMvcAttributeRoutes(RouteCollection, IDirectRouteProvider)
Mapeia as rotas definidas por atributos para o aplicativo.
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)
Parâmetros
- routes
- RouteCollection
- directRouteProvider
- IDirectRouteProvider
O IDirectRouteProvider a ser usado para rotas de mapeamento.
Aplica-se a
MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver)
Mapeia as rotas definidas por atributos para o aplicativo.
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)
Parâmetros
- routes
- RouteCollection
Uma coleção de rotas.
- constraintResolver
- IInlineConstraintResolver
O IInlineConstraintResolver a ser usado para resolver restrições embutidas em modelos de rota.
Aplica-se a
MapMvcAttributeRoutes(RouteCollection, IInlineConstraintResolver, IDirectRouteProvider)
Mapeia as rotas definidas por atributos para o aplicativo.
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)
Parâmetros
- routes
- RouteCollection
- constraintResolver
- IInlineConstraintResolver
O IInlineConstraintResolver a ser usado para resolver restrições embutidas em modelos de rota.
- directRouteProvider
- IDirectRouteProvider
O IDirectRouteProvider a ser usado para rotas de mapeamento.