Compartilhar via


ODataTemplateTranslateContext Construtor

Definição

Inicializa uma nova instância da 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)

Parâmetros

context
HttpContext

O HttpContext atual.

endpoint
Endpoint

O ponto de extremidade atual a ser correspondido.

routeValues
RouteValueDictionary

Os valores de rota atuais.

model
IEdmModel

O modelo Edm atual.

Aplica-se a