SingletonPathSegment Class
An ODataPathSegment implementation representing a singleton in a path.
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Routing.ODataPathSegmentTemplate
System.Web.OData.Routing.ODataPathSegment
System.Web.OData.Routing.SingletonPathSegment
Syntax
public class SingletonPathSegment : ODataPathSegment
public ref class SingletonPathSegment : ODataPathSegment
type SingletonPathSegment =
class
inherit ODataPathSegment
end
Public Class SingletonPathSegment
Inherits ODataPathSegment
Constructors
Name | Description | |
---|---|---|
SingletonPathSegment(IEdmSingleton) | Initializes a new instance of the SingletonPathSegment class. |
|
SingletonPathSegment(String) | Initializes a new instance of the SingletonPathSegment class. |
Properties
Name | Description | |
---|---|---|
SegmentKind | Gets the segment kind for the current segment.(Overrides ODataPathSegment.SegmentKind.) |
|
Singleton | Gets the singleton represented by this segment. |
|
SingletonName | Gets the name of the singleton. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEdmType(IEdmType) | (Overrides ODataPathSegment.GetEdmType(IEdmType).) |
|
GetHashCode() | (Inherited from Object.) |
|
GetNavigationSource(IEdmNavigationSource) | (Overrides ODataPathSegment.GetNavigationSource(IEdmNavigationSource).) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Returns a String that represents this instance.(Overrides Object.ToString().) |
|
TryMatch(ODataPathSegment, IDictionary<String, Object>) | (Overrides ODataPathSegmentTemplate.TryMatch(ODataPathSegment, IDictionary<String, Object>).) |
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