ODataPathSegmentTemplateTranslator.Translate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Translate(SingletonSegment) |
Translate an SingletonSegment |
Translate(PropertySegment) |
Translate a PropertySegment |
Translate(PathTemplateSegment) |
Handle a PropertySegment |
Translate(OperationSegment) |
Translate a OperationSegment |
Translate(OperationImportSegment) |
Translate a OperationImportSegment |
Translate(NavigationPropertySegment) |
Translate a NavigationPropertySegment |
Translate(TypeSegment) |
Translate a TypeSegment |
Translate(NavigationPropertyLinkSegment) |
Visit a NavigationPropertyLinkSegment |
Translate(KeySegment) |
Translate a KeySegment |
Translate(EntitySetSegment) |
Translate an EntitySetSegment |
Translate(DynamicPathSegment) |
Translate an OpenPropertySegment |
Translate(CountSegment) |
Translate a CountSegment |
Translate(BatchSegment) |
Translate a BatchSegment |
Translate(BatchReferenceSegment) |
Translate a BatchReferenceSegment |
Translate(MetadataSegment) |
Translate a MetadataSegment |
Translate(ValueSegment) |
Translate a ValueSegment |
Translate(SingletonSegment)
Translate an 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
Parameters
- segment
- SingletonSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(PropertySegment)
Translate a 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
Parameters
- segment
- PropertySegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(PathTemplateSegment)
Handle a 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
Parameters
- segment
- PathTemplateSegment
the segment to handle
Returns
Applies to
Translate(OperationSegment)
Translate a 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
Parameters
- segment
- OperationSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(OperationImportSegment)
Translate a 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
Parameters
- segment
- OperationImportSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(NavigationPropertySegment)
Translate a 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
Parameters
- segment
- NavigationPropertySegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(TypeSegment)
Translate a 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
Parameters
- segment
- TypeSegment
the segment to Translate
Returns
Translated the path segment template
Applies to
Translate(NavigationPropertyLinkSegment)
Visit a 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
Parameters
- segment
- NavigationPropertyLinkSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(KeySegment)
Translate a 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
Parameters
- segment
- KeySegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(EntitySetSegment)
Translate an 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
Parameters
- segment
- EntitySetSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(DynamicPathSegment)
Translate an 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
Parameters
- segment
- DynamicPathSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(CountSegment)
Translate a 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
Parameters
- segment
- CountSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(BatchSegment)
Translate a 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
Parameters
- segment
- BatchSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(BatchReferenceSegment)
Translate a 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
Parameters
- segment
- BatchReferenceSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(MetadataSegment)
Translate a 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
Parameters
- segment
- MetadataSegment
the segment to Translate
Returns
Translated the path segment template.
Applies to
Translate(ValueSegment)
Translate a 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
Parameters
- segment
- ValueSegment
the segment to Translate
Returns
Translated the path segment template.