Partager via


ODataPathSegmentTranslator Class

 

Translator to convert an OData path segment to WebAPI path segment.

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.UriParser.Visitors.PathSegmentTranslator<T>
    System.Web.OData.Routing.ODataPathSegmentTranslator

Syntax

public class ODataPathSegmentTranslator : PathSegmentTranslator<IEnumerable<ODataPathSegment>>
public ref class ODataPathSegmentTranslator : PathSegmentTranslator<IEnumerable<ODataPathSegment^>^>
type ODataPathSegmentTranslator = 
    class
        inherit PathSegmentTranslator<IEnumerable<ODataPathSegment>>
    end
Public Class ODataPathSegmentTranslator
    Inherits PathSegmentTranslator(Of IEnumerable(Of ODataPathSegment))

Constructors

Name Description
System_CAPS_pubmethod ODataPathSegmentTranslator(IEdmModel, Boolean, IDictionary<String, SingleValueNode>)

Initializes a new instance of the ODataPathSegmentTranslator class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod Translate(BatchReferenceSegment)

Translate a BatchReferenceSegment (Overrides PathSegmentTranslator<T>.Translate(BatchReferenceSegment).)

System_CAPS_pubmethod Translate(BatchSegment)

Translate a BatchSegment (Overrides PathSegmentTranslator<T>.Translate(BatchSegment).)

System_CAPS_pubmethod Translate(CountSegment)

Translate a CountSegment (Overrides PathSegmentTranslator<T>.Translate(CountSegment).)

System_CAPS_pubmethod Translate(EntitySetSegment)

Translate an EntitySetSegment (Overrides PathSegmentTranslator<T>.Translate(EntitySetSegment).)

System_CAPS_pubmethod Translate(KeySegment)

Translate a KeySegment (Overrides PathSegmentTranslator<T>.Translate(KeySegment).)

System_CAPS_pubmethod Translate(MetadataSegment)

Translate a MetadataSegment (Overrides PathSegmentTranslator<T>.Translate(MetadataSegment).)

System_CAPS_pubmethod Translate(NavigationPropertyLinkSegment)

Visit a NavigationPropertyLinkSegment (Overrides PathSegmentTranslator<T>.Translate(NavigationPropertyLinkSegment).)

System_CAPS_pubmethod Translate(NavigationPropertySegment)

Translate a NavigationPropertySegment (Overrides PathSegmentTranslator<T>.Translate(NavigationPropertySegment).)

System_CAPS_pubmethod Translate(OpenPropertySegment)

Translate an OpenPropertySegment (Overrides PathSegmentTranslator<T>.Translate(OpenPropertySegment).)

System_CAPS_pubmethod Translate(OperationImportSegment)

Translate a OperationImportSegment (Overrides PathSegmentTranslator<T>.Translate(OperationImportSegment).)

System_CAPS_pubmethod Translate(OperationSegment)

Translate a OperationSegment (Overrides PathSegmentTranslator<T>.Translate(OperationSegment).)

System_CAPS_pubmethod Translate(PathTemplateSegment)

Translate a PathTemplateSegment (Overrides PathSegmentTranslator<T>.Translate(PathTemplateSegment).)

System_CAPS_pubmethod Translate(PropertySegment)

Translate a PropertySegment (Overrides PathSegmentTranslator<T>.Translate(PropertySegment).)

System_CAPS_pubmethod Translate(SingletonSegment)

Translate an SingletonSegment (Overrides PathSegmentTranslator<T>.Translate(SingletonSegment).)

System_CAPS_pubmethod Translate(TypeSegment)

Translate a TypeSegment (Overrides PathSegmentTranslator<T>.Translate(TypeSegment).)

System_CAPS_pubmethod Translate(ValueSegment)

Translate a ValueSegment (Overrides PathSegmentTranslator<T>.Translate(ValueSegment).)

System_CAPS_pubmethodSystem_CAPS_static TranslateODataLibPathToWebApiPath(ODataPath, IEdmModel, UnresolvedPathSegment, KeySegment, Boolean, IDictionary<String, SingleValueNode>)

Translates an ODL path to Web API path.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Routing Namespace

Return to top