C# Class EmailProcessing.EmailWatcher

Inheritance: IEmailWatcher
Mostra file Open project: andrewmyhre/EmailProcessing Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EmailWatcher ( IEmailPackageSerialiser packageSerialiser, EmailProcessingConfigurationSection emailProcessingConfiguration ) : System
EmailWatcher ( string watchLocation, IEmailPackageSerialiser packageSerialiser ) : System
StartWatching ( ) : void

Private Methods

Method Description
FlushQueue ( ) : void
ProcessFile ( string path ) : void
_fsWatcher_Changed ( object sender, FileSystemEventArgs e ) : void
worker_DoWork ( object sender, DoWorkEventArgs e ) : void
worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EmailWatcher() public method

public EmailWatcher ( IEmailPackageSerialiser packageSerialiser, EmailProcessingConfigurationSection emailProcessingConfiguration ) : System
packageSerialiser IEmailPackageSerialiser
emailProcessingConfiguration EmailProcessing.Configuration.EmailProcessingConfigurationSection
return System

EmailWatcher() public method

public EmailWatcher ( string watchLocation, IEmailPackageSerialiser packageSerialiser ) : System
watchLocation string
packageSerialiser IEmailPackageSerialiser
return System

StartWatching() public method

public StartWatching ( ) : void
return void