SingletonSegment Class
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.
A segment representing an singleton in a path.
public sealed class SingletonSegment : Microsoft.OData.UriParser.ODataPathSegment
type SingletonSegment = class
inherit ODataPathSegment
Public NotInheritable Class SingletonSegment
Inherits ODataPathSegment
- Inheritance
Constructors
SingletonSegment(IEdmSingleton) |
Build a segment representing an singleton |
Properties
EdmType |
Gets the IEdmType of this SingletonSegment. This will always be an IEdmEntityType of this singleton. |
Identifier |
Returns the identifier for this segment i.e. string part without the keys. (Inherited from ODataPathSegment) |
Singleton |
Gets the singleton represented by this segment. |
Methods
HandleWith(PathSegmentHandler) |
Handle an SingletonSegment using the an instance of the PathSegmentHandler. |
TranslateWith<T>(PathSegmentTranslator<T>) |
Translate an SingletonSegment into another type using an instance of PathSegmentTranslator<T>. |