C# Class WaveBox.Service.Services.FileManager.AbstractFileManager

Inheritance: IFileManager
Afficher le fichier Open project: einsteinx2/WaveBox

Protected Properties

Свойство Type Description
logger log4net.ILog
scanQueue WaveBox.Core.OperationQueue.DelayedOperationQueue

Méthodes publiques

Méthode Description
ItemCreated ( string fullPath ) : void
ItemDeleted ( ) : void
ItemRenamed ( string fullPath ) : void
OnChanged ( object source, FileSystemEventArgs e ) : void

OnChanged() is currently a stub.

OnCreated ( object source, FileSystemEventArgs e ) : void

OnCreated() handles when an item is created in the watch folders, and forces a re-scan of the specific folder in which the file was created.

OnDeleted ( object source, FileSystemEventArgs e ) : void

OnDeleted() handles when an object is deleted from a watch folder, starting an orphan scan on the database

OnRenamed ( object source, RenamedEventArgs e ) : void

OnRenamed() handles when an object is renamed in a watch folder, purging the old object and adding the new one.

Start ( ) : bool
Stop ( ) : bool

Method Details

ItemCreated() public méthode

public ItemCreated ( string fullPath ) : void
fullPath string
Résultat void

ItemDeleted() public méthode

public ItemDeleted ( ) : void
Résultat void

ItemRenamed() public méthode

public ItemRenamed ( string fullPath ) : void
fullPath string
Résultat void

OnChanged() public méthode

OnChanged() is currently a stub.
public OnChanged ( object source, FileSystemEventArgs e ) : void
source object
e System.IO.FileSystemEventArgs
Résultat void

OnCreated() public méthode

OnCreated() handles when an item is created in the watch folders, and forces a re-scan of the specific folder in which the file was created.
public OnCreated ( object source, FileSystemEventArgs e ) : void
source object
e System.IO.FileSystemEventArgs
Résultat void

OnDeleted() public méthode

OnDeleted() handles when an object is deleted from a watch folder, starting an orphan scan on the database
public OnDeleted ( object source, FileSystemEventArgs e ) : void
source object
e System.IO.FileSystemEventArgs
Résultat void

OnRenamed() public méthode

OnRenamed() handles when an object is renamed in a watch folder, purging the old object and adding the new one.
public OnRenamed ( object source, RenamedEventArgs e ) : void
source object
e System.IO.RenamedEventArgs
Résultat void

Start() public abstract méthode

public abstract Start ( ) : bool
Résultat bool

Stop() public abstract méthode

public abstract Stop ( ) : bool
Résultat bool

Property Details

logger protected_oe static_oe property

protected static log4net.ILog logger
Résultat log4net.ILog

scanQueue protected_oe property

protected DelayedOperationQueue,WaveBox.Core.OperationQueue scanQueue
Résultat WaveBox.Core.OperationQueue.DelayedOperationQueue