Partager via


ODataTemplateTranslateContext Constructeur

Définition

Initialise une nouvelle instance de la classe ODataTemplateTranslateContext.

public ODataTemplateTranslateContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint, Microsoft.AspNetCore.Routing.RouteValueDictionary routeValues, Microsoft.OData.Edm.IEdmModel model);
new Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.Endpoint * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.OData.Edm.IEdmModel -> Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext
Public Sub New (context As HttpContext, endpoint As Endpoint, routeValues As RouteValueDictionary, model As IEdmModel)

Paramètres

context
HttpContext

HttpContext actuel.

endpoint
Endpoint

Point de terminaison actuel à mettre en correspondance.

routeValues
RouteValueDictionary

Valeurs de route actuelles.

model
IEdmModel

Modèle Edm actuel.

S’applique à