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

Abstract class for SyncReader that individual format readers needs to extend
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_currentEntryWrapper EntryInfoWrapper
_currentNodeRead bool
_currentType ReaderItemType
_inputStream Stream
_knownTypes System.Type[]
_liveEntity IOfflineEntity
_reader XmlReader

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

Метод Описание
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

Защищенные методы

Метод Описание
CheckItemType ( ReaderItemType type ) : void
SyncReader ( Stream stream, Type knownTypes ) : System

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

CheckItemType() защищенный Метод

protected CheckItemType ( ReaderItemType type ) : void
type ReaderItemType
Результат void

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

public Dispose ( ) : void
Результат void

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

Get the conflict item
public GetConflict ( ) : Conflict
Результат Conflict

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

Returns the TempId parsed from the current conflict object if present
public GetConflictTempId ( ) : string
Результат string

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

public abstract GetHasMoreChangesValue ( ) : bool
Результат bool

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

public abstract GetItem ( ) : IOfflineEntity
Результат IOfflineEntity

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

public abstract GetServerBlob ( ) : byte[]
Результат byte[]

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

Returns the TempId parsed from the current object if present
public GetTempId ( ) : string
Результат string

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

Check to see if the current object that was just parsed had a conflict element on it or not.
public HasConflict ( ) : bool
Результат bool

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

Check to see if the current conflict object that was just parsed has a tempId element on it or not.
public HasConflictTempId ( ) : bool
Результат bool

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

Check to see if the current object that was just parsed has a tempId element on it or not.
public HasTempId ( ) : bool
Результат bool

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

public abstract Next ( ) : bool
Результат bool

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

public abstract Start ( ) : void
Результат void

SyncReader() защищенный Метод

protected SyncReader ( Stream stream, Type knownTypes ) : System
stream Stream
knownTypes System.Type
Результат System

Описание свойств

_currentEntryWrapper защищенное свойство

protected EntryInfoWrapper,Microsoft.Samples.Synchronization.ClientServices.Formatters _currentEntryWrapper
Результат EntryInfoWrapper

_currentNodeRead защищенное свойство

protected bool _currentNodeRead
Результат bool

_currentType защищенное свойство

protected ReaderItemType _currentType
Результат ReaderItemType

_inputStream защищенное свойство

protected Stream _inputStream
Результат Stream

_knownTypes защищенное свойство

protected Type[],System _knownTypes
Результат System.Type[]

_liveEntity защищенное свойство

protected IOfflineEntity _liveEntity
Результат IOfflineEntity

_reader защищенное свойство

protected XmlReader _reader
Результат XmlReader