C# Класс CmisSync.Lib.Producer.ContentChange.ContentChangeEventTransformer

Content change event transformer. Produces Folder and FileEvents from ContentChange Events.
/// Is thrown when an argument passed to a method is invalid because it is . /// /// Is thrown when an operation cannot be performed. ///
Наследование: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ContentChangeEventTransformer ( ISyncEventQueue queue, IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null ) : System

Initializes a new instance of the CmisSync.Lib.Sync.Strategy.ContentChangeEventTransformer class.

Handle ( ISyncEvent e ) : bool

Handle the specified e.

Приватные методы

Метод Описание
HandleAsIDocument ( ContentChangeEvent contentChangeEvent ) : void
HandleAsIFolder ( ContentChangeEvent contentChangeEvent ) : void
HandleDeletion ( ContentChangeEvent contentChangeEvent ) : void

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

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

Initializes a new instance of the CmisSync.Lib.Sync.Strategy.ContentChangeEventTransformer class.
/// Is thrown when an argument passed to a method is invalid because it is . ///
public ContentChangeEventTransformer ( ISyncEventQueue queue, IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null ) : System
queue ISyncEventQueue /// The ISyncEventQueue. ///
storage IMetaDataStorage /// The MetaDataStorage. ///
fsFactory IFileSystemInfoFactory /// Fs factory can be null. ///
Результат System

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

Handle the specified e.
/// Is thrown when an operation cannot be performed. ///
public Handle ( ISyncEvent e ) : bool
e ISyncEvent /// The ISyncEvent only handled when ContentChangeEvent ///
Результат bool