C# Class Microsoft.Samples.Synchronization.ClientServices.Formatters.ODataAtomReader

SyncReader implementation for the OData Atompub format
Inheritance: SyncReader
Afficher le fichier Open project: rafek/SyncFx

Méthodes publiques

Méthode Description
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.

Method Details

GetHasMoreChangesValue() public méthode

Returns the value of the sync:hasMoreChanges element
public GetHasMoreChangesValue ( ) : bool
Résultat bool

GetItem() public méthode

Returns the current entry element casted as an IOfflineEntity element
public GetItem ( ) : IOfflineEntity
Résultat IOfflineEntity

GetServerBlob() public méthode

Returns the sync:serverBlob element contents
public GetServerBlob ( ) : byte[]
Résultat byte[]

Next() public méthode

Traverses through the feed and returns when it arrives at the necessary element.
public Next ( ) : bool
Résultat bool

ODataAtomReader() public méthode

Constructor with no KnownTypes specified
public ODataAtomReader ( Stream stream ) : System
stream Stream Input reader stream
Résultat System

ODataAtomReader() public méthode

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
Résultat System

Start() public méthode

Validates that the stream contains a valid feed item.
public Start ( ) : void
Résultat void