Compartir a través de


ODataPathSegmentTemplateTranslator.Translate Método

Definición

Sobrecargas

Translate(SingletonSegment)

Traducción de singletonSegment

Translate(PropertySegment)

Traduce un PropertySegment

Translate(PathTemplateSegment)

Controla un PropertySegment

Translate(OperationSegment)

Traduce un OperationSegment

Translate(OperationImportSegment)

Traducción de operationImportSegment

Translate(NavigationPropertySegment)

Traduce un NavigationPropertySegment

Translate(TypeSegment)

Traduce un TypeSegment

Translate(NavigationPropertyLinkSegment)

Visita un NavigationPropertyLinkSegment

Translate(KeySegment)

Traduce un KeySegment

Translate(EntitySetSegment)

Traduce un EntitySetSegment

Translate(DynamicPathSegment)

Traduce un OpenPropertySegment

Translate(CountSegment)

Traduce un CountSegment

Translate(BatchSegment)

Traduce un BatchSegment

Translate(BatchReferenceSegment)

Traduce un BatchReferenceSegment

Translate(MetadataSegment)

Traduce un MetadataSegment

Translate(ValueSegment)

Traduce un ValueSegment

Translate(SingletonSegment)

Traducción de singletonSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.SingletonSegment segment);
override this.Translate : Microsoft.OData.UriParser.SingletonSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As SingletonSegment) As ODataPathSegmentTemplate

Parámetros

segment
SingletonSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(PropertySegment)

Traduce un PropertySegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.PropertySegment segment);
override this.Translate : Microsoft.OData.UriParser.PropertySegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As PropertySegment) As ODataPathSegmentTemplate

Parámetros

segment
PropertySegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(PathTemplateSegment)

Controla un PropertySegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.PathTemplateSegment segment);
override this.Translate : Microsoft.OData.UriParser.PathTemplateSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As PathTemplateSegment) As ODataPathSegmentTemplate

Parámetros

segment
PathTemplateSegment

el segmento que se va a controlar

Devoluciones

Se aplica a

Translate(OperationSegment)

Traduce un OperationSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.OperationSegment segment);
override this.Translate : Microsoft.OData.UriParser.OperationSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As OperationSegment) As ODataPathSegmentTemplate

Parámetros

segment
OperationSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(OperationImportSegment)

Traducción de operationImportSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.OperationImportSegment segment);
override this.Translate : Microsoft.OData.UriParser.OperationImportSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As OperationImportSegment) As ODataPathSegmentTemplate

Parámetros

segment
OperationImportSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(NavigationPropertySegment)

Traduce un NavigationPropertySegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.NavigationPropertySegment segment);
override this.Translate : Microsoft.OData.UriParser.NavigationPropertySegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As NavigationPropertySegment) As ODataPathSegmentTemplate

Parámetros

segment
NavigationPropertySegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(TypeSegment)

Traduce un TypeSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.TypeSegment segment);
override this.Translate : Microsoft.OData.UriParser.TypeSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As TypeSegment) As ODataPathSegmentTemplate

Parámetros

segment
TypeSegment

segmento que se va a traducir

Devoluciones

Traducción de la plantilla de segmento de ruta de acceso

Se aplica a

Translate(NavigationPropertyLinkSegment)

Visita un NavigationPropertyLinkSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.NavigationPropertyLinkSegment segment);
override this.Translate : Microsoft.OData.UriParser.NavigationPropertyLinkSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As NavigationPropertyLinkSegment) As ODataPathSegmentTemplate

Parámetros

segment
NavigationPropertyLinkSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(KeySegment)

Traduce un KeySegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.KeySegment segment);
override this.Translate : Microsoft.OData.UriParser.KeySegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As KeySegment) As ODataPathSegmentTemplate

Parámetros

segment
KeySegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(EntitySetSegment)

Traduce un EntitySetSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.EntitySetSegment segment);
override this.Translate : Microsoft.OData.UriParser.EntitySetSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As EntitySetSegment) As ODataPathSegmentTemplate

Parámetros

segment
EntitySetSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(DynamicPathSegment)

Traduce un OpenPropertySegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.DynamicPathSegment segment);
override this.Translate : Microsoft.OData.UriParser.DynamicPathSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As DynamicPathSegment) As ODataPathSegmentTemplate

Parámetros

segment
DynamicPathSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(CountSegment)

Traduce un CountSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.CountSegment segment);
override this.Translate : Microsoft.OData.UriParser.CountSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As CountSegment) As ODataPathSegmentTemplate

Parámetros

segment
CountSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(BatchSegment)

Traduce un BatchSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.BatchSegment segment);
override this.Translate : Microsoft.OData.UriParser.BatchSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As BatchSegment) As ODataPathSegmentTemplate

Parámetros

segment
BatchSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(BatchReferenceSegment)

Traduce un BatchReferenceSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.BatchReferenceSegment segment);
override this.Translate : Microsoft.OData.UriParser.BatchReferenceSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As BatchReferenceSegment) As ODataPathSegmentTemplate

Parámetros

segment
BatchReferenceSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(MetadataSegment)

Traduce un MetadataSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.MetadataSegment segment);
override this.Translate : Microsoft.OData.UriParser.MetadataSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As MetadataSegment) As ODataPathSegmentTemplate

Parámetros

segment
MetadataSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a

Translate(ValueSegment)

Traduce un ValueSegment

public override Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate Translate (Microsoft.OData.UriParser.ValueSegment segment);
override this.Translate : Microsoft.OData.UriParser.ValueSegment -> Microsoft.AspNet.OData.Routing.Template.ODataPathSegmentTemplate
Public Overrides Function Translate (segment As ValueSegment) As ODataPathSegmentTemplate

Parámetros

segment
ValueSegment

segmento que se va a traducir

Devoluciones

Se ha traducido la plantilla de segmento de ruta de acceso.

Se aplica a