Route Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Route(IRouter, String, IInlineConstraintResolver) |
Construit une nouvelle instance de Route. |
Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver) |
Construit une nouvelle instance de Route. |
Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver) |
Construit une nouvelle instance de Route. |
Route(IRouter, String, IInlineConstraintResolver)
- Source:
- Route.cs
- Source:
- Route.cs
- Source:
- Route.cs
Construit une nouvelle instance de Route.
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeTemplate As String, inlineConstraintResolver As IInlineConstraintResolver)
Paramètres
- routeTemplate
- String
Représentation sous forme de chaîne du modèle d’itinéraire.
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolver utilisé pour résoudre les contraintes inline.
S’applique à
Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- Source:
- Route.cs
- Source:
- Route.cs
- Source:
- Route.cs
Construit une nouvelle instance de Route.
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeTemplate As String, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary, inlineConstraintResolver As IInlineConstraintResolver)
Paramètres
- routeTemplate
- String
Représentation sous forme de chaîne du modèle d’itinéraire.
- defaults
- RouteValueDictionary
Valeurs par défaut des paramètres de l’itinéraire.
- constraints
- IDictionary<String,Object>
Contraintes pour l’itinéraire.
- dataTokens
- RouteValueDictionary
Jetons de données pour l’itinéraire.
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolver utilisé pour résoudre les contraintes inline.
S’applique à
Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- Source:
- Route.cs
- Source:
- Route.cs
- Source:
- Route.cs
Construit une nouvelle instance de Route.
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeName, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeName, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string? routeName, string? routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeName As String, routeTemplate As String, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary, inlineConstraintResolver As IInlineConstraintResolver)
Paramètres
- routeName
- String
Nom de l'itinéraire.
- routeTemplate
- String
Représentation sous forme de chaîne du modèle d’itinéraire.
- defaults
- RouteValueDictionary
Valeurs par défaut des paramètres de l’itinéraire.
- constraints
- IDictionary<String,Object>
Contraintes pour l’itinéraire.
- dataTokens
- RouteValueDictionary
Jetons de données pour l’itinéraire.
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolver utilisé pour résoudre les contraintes inline.