Partager via


IODataTemplateTranslator.Translate Méthode

Définition

public Microsoft.OData.UriParser.ODataPath Translate (Microsoft.AspNetCore.OData.Routing.Template.ODataPathTemplate path, Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext context);
abstract member Translate : Microsoft.AspNetCore.OData.Routing.Template.ODataPathTemplate * Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext -> Microsoft.OData.UriParser.ODataPath
Public Function Translate (path As ODataPathTemplate, context As ODataTemplateTranslateContext) As ODataPath

Paramètres

path
ODataPathTemplate

Modèle de chemin OData.

context
ODataTemplateTranslateContext

Contexte de traduction.

Retours

Chemin OData.

S’applique à