C# 클래스 Microsoft.Samples.Synchronization.ClientServices.Formatters.ODataAtomReader

SyncReader implementation for the OData Atompub format
상속: SyncReader
파일 보기 프로젝트 열기: rafek/SyncFx

공개 메소드들

메소드 설명
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