C# Class 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. ///
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
显示文件 Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
HandleAsIDocument ( ContentChangeEvent contentChangeEvent ) : void
HandleAsIFolder ( ContentChangeEvent contentChangeEvent ) : void
HandleDeletion ( ContentChangeEvent contentChangeEvent ) : void

Method Details

ContentChangeEventTransformer() public method

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. ///
return System

Handle() public method

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 ///
return bool