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

Abstract class for SyncReader that individual format readers needs to extend
Inheritance: IDisposable
Afficher le fichier Open project: rafek/SyncFx Class Usage Examples

Protected Properties

Свойство Type Description
_currentEntryWrapper EntryInfoWrapper
_currentNodeRead bool
_currentType ReaderItemType
_inputStream Stream
_knownTypes System.Type[]
_liveEntity IOfflineEntity
_reader XmlReader

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetConflict ( ) : Conflict

Get the conflict item

GetConflictTempId ( ) : string

Returns the TempId parsed from the current conflict object if present

GetHasMoreChangesValue ( ) : bool
GetItem ( ) : IOfflineEntity
GetServerBlob ( ) : byte[]
GetTempId ( ) : string

Returns the TempId parsed from the current object if present

HasConflict ( ) : bool

Check to see if the current object that was just parsed had a conflict element on it or not.

HasConflictTempId ( ) : bool

Check to see if the current conflict object that was just parsed has a tempId element on it or not.

HasTempId ( ) : bool

Check to see if the current object that was just parsed has a tempId element on it or not.

Next ( ) : bool
Start ( ) : void

Méthodes protégées

Méthode Description
CheckItemType ( ReaderItemType type ) : void
SyncReader ( Stream stream, Type knownTypes ) : System

Method Details

CheckItemType() protected méthode

protected CheckItemType ( ReaderItemType type ) : void
type ReaderItemType
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetConflict() public méthode

Get the conflict item
public GetConflict ( ) : Conflict
Résultat Conflict

GetConflictTempId() public méthode

Returns the TempId parsed from the current conflict object if present
public GetConflictTempId ( ) : string
Résultat string

GetHasMoreChangesValue() public abstract méthode

public abstract GetHasMoreChangesValue ( ) : bool
Résultat bool

GetItem() public abstract méthode

public abstract GetItem ( ) : IOfflineEntity
Résultat IOfflineEntity

GetServerBlob() public abstract méthode

public abstract GetServerBlob ( ) : byte[]
Résultat byte[]

GetTempId() public méthode

Returns the TempId parsed from the current object if present
public GetTempId ( ) : string
Résultat string

HasConflict() public méthode

Check to see if the current object that was just parsed had a conflict element on it or not.
public HasConflict ( ) : bool
Résultat bool

HasConflictTempId() public méthode

Check to see if the current conflict object that was just parsed has a tempId element on it or not.
public HasConflictTempId ( ) : bool
Résultat bool

HasTempId() public méthode

Check to see if the current object that was just parsed has a tempId element on it or not.
public HasTempId ( ) : bool
Résultat bool

Next() public abstract méthode

public abstract Next ( ) : bool
Résultat bool

Start() public abstract méthode

public abstract Start ( ) : void
Résultat void

SyncReader() protected méthode

protected SyncReader ( Stream stream, Type knownTypes ) : System
stream Stream
knownTypes System.Type
Résultat System

Property Details

_currentEntryWrapper protected_oe property

protected EntryInfoWrapper,Microsoft.Samples.Synchronization.ClientServices.Formatters _currentEntryWrapper
Résultat EntryInfoWrapper

_currentNodeRead protected_oe property

protected bool _currentNodeRead
Résultat bool

_currentType protected_oe property

protected ReaderItemType _currentType
Résultat ReaderItemType

_inputStream protected_oe property

protected Stream _inputStream
Résultat Stream

_knownTypes protected_oe property

protected Type[],System _knownTypes
Résultat System.Type[]

_liveEntity protected_oe property

protected IOfflineEntity _liveEntity
Résultat IOfflineEntity

_reader protected_oe property

protected XmlReader _reader
Résultat XmlReader