C# Класс WaveBox.Service.Services.FileManager.AbstractFileManager

Наследование: IFileManager
Показать файл Открыть проект

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

Свойство Тип Описание
logger log4net.ILog
scanQueue WaveBox.Core.OperationQueue.DelayedOperationQueue

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

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

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

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

public ItemCreated ( string fullPath ) : void
fullPath string
Результат void

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

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

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

public ItemRenamed ( string fullPath ) : void
fullPath string
Результат void

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

OnChanged() is currently a stub.
public OnChanged ( object source, FileSystemEventArgs e ) : void
source object
e System.IO.FileSystemEventArgs
Результат void

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

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
Результат void

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

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
Результат void

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

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
Результат void

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

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

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

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

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

logger защищенное статическое свойство

protected static log4net.ILog logger
Результат log4net.ILog

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

protected DelayedOperationQueue,WaveBox.Core.OperationQueue scanQueue
Результат WaveBox.Core.OperationQueue.DelayedOperationQueue