C# Класс Microsoft.Samples.Synchronization.ClientServices.Formatters.ODataAtomReader

SyncReader implementation for the OData Atompub format
Наследование: SyncReader
Показать файл Открыть проект

Открытые методы

Метод Описание
GetHasMoreChangesValue ( ) : bool

Returns the value of the sync:hasMoreChanges element

GetItem ( ) : IOfflineEntity

Returns the current entry element casted as an IOfflineEntity element

GetServerBlob ( ) : byte[]

Returns the sync:serverBlob element contents

Next ( ) : bool

Traverses through the feed and returns when it arrives at the necessary element.

ODataAtomReader ( Stream stream ) : System

Constructor with no KnownTypes specified

ODataAtomReader ( Stream stream, Type knownTypes ) : System

Constructor with KnownTypes specified

Start ( ) : void

Validates that the stream contains a valid feed item.

Описание методов

GetHasMoreChangesValue() публичный Метод

Returns the value of the sync:hasMoreChanges element
public GetHasMoreChangesValue ( ) : bool
Результат bool

GetItem() публичный Метод

Returns the current entry element casted as an IOfflineEntity element
public GetItem ( ) : IOfflineEntity
Результат IOfflineEntity

GetServerBlob() публичный Метод

Returns the sync:serverBlob element contents
public GetServerBlob ( ) : byte[]
Результат byte[]

Next() публичный Метод

Traverses through the feed and returns when it arrives at the necessary element.
public Next ( ) : bool
Результат bool

ODataAtomReader() публичный Метод

Constructor with no KnownTypes specified
public ODataAtomReader ( Stream stream ) : System
stream Stream Input reader stream
Результат System

ODataAtomReader() публичный Метод

Constructor with KnownTypes specified
public ODataAtomReader ( Stream stream, Type knownTypes ) : System
stream Stream Input reader stream
knownTypes System.Type List of types to reflect from
Результат System

Start() публичный Метод

Validates that the stream contains a valid feed item.
public Start ( ) : void
Результат void