Partager via


ODataRoute Constructeurs

Définition

Surcharges

ODataRoute(String, ODataPathRouteConstraint)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(String, IHttpRouteConstraint)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(IRouter, String, String, ODataPathRouteConstraint, IInlineConstraintResolver)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(IRouter, String, String, IRouteConstraint, IInlineConstraintResolver)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(String, ODataPathRouteConstraint, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpMessageHandler)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(String, IHttpRouteConstraint, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpMessageHandler)

Initialise une nouvelle instance de la classe ODataRoute.

ODataRoute(String, ODataPathRouteConstraint)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (string routePrefix, Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint pathConstraint);
new Microsoft.AspNet.OData.Routing.ODataRoute : string * Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (routePrefix As String, pathConstraint As ODataPathRouteConstraint)

Paramètres

routePrefix
String

Préfixe d'itinéraire.

pathConstraint
ODataPathRouteConstraint

Contrainte de chemin d'accès OData.

S’applique à

ODataRoute(String, IHttpRouteConstraint)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (string routePrefix, System.Web.Http.Routing.IHttpRouteConstraint routeConstraint);
new Microsoft.AspNet.OData.Routing.ODataRoute : string * System.Web.Http.Routing.IHttpRouteConstraint -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (routePrefix As String, routeConstraint As IHttpRouteConstraint)

Paramètres

routePrefix
String

Préfixe d'itinéraire.

routeConstraint
System.Web.Http.Routing.IHttpRouteConstraint

Contrainte d’itinéraire.

Remarques

Cette signature utilise des types spécifiques à AspNet.

S’applique à

ODataRoute(IRouter, String, String, ODataPathRouteConstraint, IInlineConstraintResolver)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (Microsoft.AspNetCore.Routing.IRouter target, string routeName, string routePrefix, Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint routeConstraint, Microsoft.AspNetCore.Routing.IInlineConstraintResolver resolver);
new Microsoft.AspNet.OData.Routing.ODataRoute : Microsoft.AspNetCore.Routing.IRouter * string * string * Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (target As IRouter, routeName As String, routePrefix As String, routeConstraint As ODataPathRouteConstraint, resolver As IInlineConstraintResolver)

Paramètres

target
IRouter

Routeur cible.

routeName
String

Nom de l'itinéraire.

routePrefix
String

Préfixe d'itinéraire.

routeConstraint
ODataPathRouteConstraint

Contrainte de routage OData.

resolver
IInlineConstraintResolver

Programme de résolution de contrainte en ligne.

Remarques

Cette signature utilise des types spécifiques à AspNetCore.

S’applique à

ODataRoute(IRouter, String, String, IRouteConstraint, IInlineConstraintResolver)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (Microsoft.AspNetCore.Routing.IRouter target, string routeName, string routePrefix, Microsoft.AspNetCore.Routing.IRouteConstraint routeConstraint, Microsoft.AspNetCore.Routing.IInlineConstraintResolver resolver);
new Microsoft.AspNet.OData.Routing.ODataRoute : Microsoft.AspNetCore.Routing.IRouter * string * string * Microsoft.AspNetCore.Routing.IRouteConstraint * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (target As IRouter, routeName As String, routePrefix As String, routeConstraint As IRouteConstraint, resolver As IInlineConstraintResolver)

Paramètres

target
IRouter

Routeur cible.

routeName
String

Nom de l'itinéraire.

routePrefix
String

Préfixe d'itinéraire.

routeConstraint
IRouteConstraint

Contrainte de routage OData.

resolver
IInlineConstraintResolver

Programme de résolution de contrainte en ligne.

Remarques

Cette signature utilise des types spécifiques à AspNetCore.

S’applique à

ODataRoute(String, ODataPathRouteConstraint, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpMessageHandler)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (string routePrefix, Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint pathConstraint, System.Web.Http.Routing.HttpRouteValueDictionary defaults, System.Web.Http.Routing.HttpRouteValueDictionary constraints, System.Web.Http.Routing.HttpRouteValueDictionary dataTokens, System.Net.Http.HttpMessageHandler handler);
new Microsoft.AspNet.OData.Routing.ODataRoute : string * Microsoft.AspNet.OData.Routing.ODataPathRouteConstraint * System.Web.Http.Routing.HttpRouteValueDictionary * System.Web.Http.Routing.HttpRouteValueDictionary * System.Web.Http.Routing.HttpRouteValueDictionary * System.Net.Http.HttpMessageHandler -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (routePrefix As String, pathConstraint As ODataPathRouteConstraint, defaults As HttpRouteValueDictionary, constraints As HttpRouteValueDictionary, dataTokens As HttpRouteValueDictionary, handler As HttpMessageHandler)

Paramètres

routePrefix
String

Préfixe d'itinéraire.

pathConstraint
ODataPathRouteConstraint

Contrainte de chemin d'accès OData.

defaults
System.Web.Http.Routing.HttpRouteValueDictionary

Valeurs par défaut pour l'itinéraire.

constraints
System.Web.Http.Routing.HttpRouteValueDictionary

Contraintes d'itinéraire.

dataTokens
System.Web.Http.Routing.HttpRouteValueDictionary

Jetons de données.

handler
HttpMessageHandler

Gestionnaire de messages pour l'itinéraire.

Remarques

Cette signature utilise des types spécifiques à AspNet.

S’applique à

ODataRoute(String, IHttpRouteConstraint, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpRouteValueDictionary, HttpMessageHandler)

Initialise une nouvelle instance de la classe ODataRoute.

public ODataRoute (string routePrefix, System.Web.Http.Routing.IHttpRouteConstraint routeConstraint, System.Web.Http.Routing.HttpRouteValueDictionary defaults, System.Web.Http.Routing.HttpRouteValueDictionary constraints, System.Web.Http.Routing.HttpRouteValueDictionary dataTokens, System.Net.Http.HttpMessageHandler handler);
new Microsoft.AspNet.OData.Routing.ODataRoute : string * System.Web.Http.Routing.IHttpRouteConstraint * System.Web.Http.Routing.HttpRouteValueDictionary * System.Web.Http.Routing.HttpRouteValueDictionary * System.Web.Http.Routing.HttpRouteValueDictionary * System.Net.Http.HttpMessageHandler -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Sub New (routePrefix As String, routeConstraint As IHttpRouteConstraint, defaults As HttpRouteValueDictionary, constraints As HttpRouteValueDictionary, dataTokens As HttpRouteValueDictionary, handler As HttpMessageHandler)

Paramètres

routePrefix
String

Préfixe d'itinéraire.

routeConstraint
System.Web.Http.Routing.IHttpRouteConstraint

Contrainte d’itinéraire.

defaults
System.Web.Http.Routing.HttpRouteValueDictionary

Valeurs par défaut pour l'itinéraire.

constraints
System.Web.Http.Routing.HttpRouteValueDictionary

Contraintes d'itinéraire.

dataTokens
System.Web.Http.Routing.HttpRouteValueDictionary

Jetons de données.

handler
HttpMessageHandler

Gestionnaire de messages pour l'itinéraire.

Remarques

Cette signature utilise des types spécifiques à AspNet.

S’applique à