Sdílet prostřednictvím


SingletonSegment Třída

Definice

Segment představující jednoúčel v cestě.

public sealed class SingletonSegment : Microsoft.OData.UriParser.ODataPathSegment
type SingletonSegment = class
    inherit ODataPathSegment
Public NotInheritable Class SingletonSegment
Inherits ODataPathSegment
Dědičnost
SingletonSegment

Konstruktory

SingletonSegment(IEdmSingleton)

Vytvoření segmentu představujícího jednoúčelovou položku

Vlastnosti

EdmType

IEdmType Získá z tohoto SingletonSegment. To bude vždy jedno IEdmEntityType z tohoto singletonu.

Identifier

Vrátí identifikátor pro tento segment, tj. část řetězce bez klíčů.

(Zděděno od ODataPathSegment)
Singleton

Získá singleton reprezentovaný tímto segmentem.

Metody

HandleWith(PathSegmentHandler)

Zpracování objektu SingletonSegment pomocí instance objektu PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Překlad objektu na SingletonSegment jiný typ pomocí instance PathSegmentTranslator<T>.

Platí pro