C# Class CmisSync.Lib.Producer.Watcher.RenamedFileSystemEventHandler

Renamed file system event handler.
Exibir arquivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
Handle ( object source, RenamedEventArgs e ) : void

Takes rename file system events and transforms them to rename events on queue.

RenamedFileSystemEventHandler ( ISyncEventQueue queue, IFileSystemInfoFactory fsFactory = null ) : System

Initializes a new instance of the RenamedFileSystemEventHandler class.

Method Details

Handle() public method

Takes rename file system events and transforms them to rename events on queue.
public Handle ( object source, RenamedEventArgs e ) : void
source object source object
e System.IO.RenamedEventArgs Rename event from file system watcher
return void

RenamedFileSystemEventHandler() public method

Initializes a new instance of the RenamedFileSystemEventHandler class.
public RenamedFileSystemEventHandler ( ISyncEventQueue queue, IFileSystemInfoFactory fsFactory = null ) : System
queue ISyncEventQueue Sync event queue to report the events to.
fsFactory IFileSystemInfoFactory File system factory.
return System