C# 클래스 WaveBox.Service.Services.FileManager.AbstractFileManager

상속: IFileManager
파일 보기 프로젝트 열기: einsteinx2/WaveBox

보호된 프로퍼티들

프로퍼티 타입 설명
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