ODataPathSegmentTranslator.Translate Method
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
Translate(BatchReferenceSegment) | Translate a BatchReferenceSegment (Overrides PathSegmentTranslator<T>.Translate(BatchReferenceSegment).) |
|
Translate(BatchSegment) | Translate a BatchSegment (Overrides PathSegmentTranslator<T>.Translate(BatchSegment).) |
|
Translate(CountSegment) | Translate a CountSegment (Overrides PathSegmentTranslator<T>.Translate(CountSegment).) |
|
Translate(EntitySetSegment) | Translate an EntitySetSegment (Overrides PathSegmentTranslator<T>.Translate(EntitySetSegment).) |
|
Translate(KeySegment) | Translate a KeySegment (Overrides PathSegmentTranslator<T>.Translate(KeySegment).) |
|
Translate(MetadataSegment) | Translate a MetadataSegment (Overrides PathSegmentTranslator<T>.Translate(MetadataSegment).) |
|
Translate(NavigationPropertyLinkSegment) | Visit a NavigationPropertyLinkSegment (Overrides PathSegmentTranslator<T>.Translate(NavigationPropertyLinkSegment).) |
|
Translate(NavigationPropertySegment) | Translate a NavigationPropertySegment (Overrides PathSegmentTranslator<T>.Translate(NavigationPropertySegment).) |
|
Translate(OpenPropertySegment) | Translate an OpenPropertySegment (Overrides PathSegmentTranslator<T>.Translate(OpenPropertySegment).) |
|
Translate(OperationImportSegment) | Translate a OperationImportSegment (Overrides PathSegmentTranslator<T>.Translate(OperationImportSegment).) |
|
Translate(OperationSegment) | Translate a OperationSegment (Overrides PathSegmentTranslator<T>.Translate(OperationSegment).) |
|
Translate(PathTemplateSegment) | Translate a PathTemplateSegment (Overrides PathSegmentTranslator<T>.Translate(PathTemplateSegment).) |
|
Translate(PropertySegment) | Translate a PropertySegment (Overrides PathSegmentTranslator<T>.Translate(PropertySegment).) |
|
Translate(SingletonSegment) | Translate an SingletonSegment (Overrides PathSegmentTranslator<T>.Translate(SingletonSegment).) |
|
Translate(TypeSegment) | Translate a TypeSegment (Overrides PathSegmentTranslator<T>.Translate(TypeSegment).) |
|
Translate(ValueSegment) | Translate a ValueSegment (Overrides PathSegmentTranslator<T>.Translate(ValueSegment).) |
See Also
ODataPathSegmentTranslator Class
System.Web.OData.Routing Namespace
Return to top
ODataPathSegmentTranslator.Translate Method (BatchReferenceSegment)
Translate a BatchReferenceSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
BatchReferenceSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
BatchReferenceSegment^ segment
) override
override Translate :
segment:BatchReferenceSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As BatchReferenceSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.BatchReferenceSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (BatchSegment)
Translate a BatchSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
BatchSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
BatchSegment^ segment
) override
override Translate :
segment:BatchSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As BatchSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.BatchSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (CountSegment)
Translate a CountSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
CountSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
CountSegment^ segment
) override
override Translate :
segment:CountSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As CountSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.CountSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (EntitySetSegment)
Translate an EntitySetSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
EntitySetSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
EntitySetSegment^ segment
) override
override Translate :
segment:EntitySetSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As EntitySetSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.EntitySetSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (KeySegment)
Translate a KeySegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
KeySegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
KeySegment^ segment
) override
override Translate :
segment:KeySegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As KeySegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.KeySegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (MetadataSegment)
Translate a MetadataSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
MetadataSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
MetadataSegment^ segment
) override
override Translate :
segment:MetadataSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As MetadataSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.MetadataSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (NavigationPropertyLinkSegment)
Visit a NavigationPropertyLinkSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
NavigationPropertyLinkSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
NavigationPropertyLinkSegment^ segment
) override
override Translate :
segment:NavigationPropertyLinkSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As NavigationPropertyLinkSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.NavigationPropertyLinkSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (NavigationPropertySegment)
Translate a NavigationPropertySegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
NavigationPropertySegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
NavigationPropertySegment^ segment
) override
override Translate :
segment:NavigationPropertySegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As NavigationPropertySegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.NavigationPropertySegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (OpenPropertySegment)
Translate an OpenPropertySegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
OpenPropertySegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
OpenPropertySegment^ segment
) override
override Translate :
segment:OpenPropertySegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As OpenPropertySegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.OpenPropertySegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (OperationImportSegment)
Translate a OperationImportSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
OperationImportSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
OperationImportSegment^ segment
) override
override Translate :
segment:OperationImportSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As OperationImportSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.OperationImportSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (OperationSegment)
Translate a OperationSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
OperationSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
OperationSegment^ segment
) override
override Translate :
segment:OperationSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As OperationSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.OperationSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (PathTemplateSegment)
Translate a PathTemplateSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
PathTemplateSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
PathTemplateSegment^ segment
) override
override Translate :
segment:PathTemplateSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As PathTemplateSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.PathTemplateSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (PropertySegment)
Translate a PropertySegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
PropertySegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
PropertySegment^ segment
) override
override Translate :
segment:PropertySegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As PropertySegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.PropertySegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (SingletonSegment)
Translate an SingletonSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
SingletonSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
SingletonSegment^ segment
) override
override Translate :
segment:SingletonSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As SingletonSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.SingletonSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top
ODataPathSegmentTranslator.Translate Method (TypeSegment)
Translate a TypeSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
TypeSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
TypeSegment^ segment
) override
override Translate :
segment:TypeSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As TypeSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.TypeSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment
Return to top
ODataPathSegmentTranslator.Translate Method (ValueSegment)
Translate a ValueSegment
Syntax
public override IEnumerable<ODataPathSegment> Translate(
ValueSegment segment
)
public:
virtual IEnumerable<ODataPathSegment^>^ Translate(
ValueSegment^ segment
) override
override Translate :
segment:ValueSegment -> IEnumerable<ODataPathSegment>
Public Overrides Function Translate (
segment As ValueSegment
) As IEnumerable(Of ODataPathSegment)
Parameters
segment
Type: Microsoft.OData.Core.UriParser.Semantic.ValueSegmentthe segment to Translate
Return Value
Type: System.Collections.Generic.IEnumerable<ODataPathSegment>
Translated WebApi path segment.
Return to top