C# Class BlueCollar.Console.Bootstraps

Inheritance: IDisposable
Show file Open project: ChadBurggraf/blue-collar Class Usage Examples

Public Methods

Method Description
Bootstraps ( string applicationPath, string configPath, int threshold ) : System

Initializes a new instance of the Bootstraps class.

Dispose ( ) : void

Disposes of resources used by this instance.

PullUp ( ) : BootstrapsPullupResult

Pulls up this instance's app domain, if it is not already loaded.

Pushdown ( bool force ) : void

Destroys this instance app domain.

Private Methods

Method Description
CreateWatcher ( string path, FileSystemWatcherMode mode, string filter ) : BlueCollar.FileSystemWatcher

Creates a FileSystemWatcher.

DestroyWatchers ( ) : void

Destroys any FileSystemWatchers this instance is maintaining.

Dispose ( bool disposing ) : void

Disposes of resources used by this instance.

LoggerLog ( object sender, EventLoggerEventArgs e ) : void

Raises the logger's Log event.

PullUp ( bool forceMachine ) : BootstrapsPullupResult
WatcherOperation ( object sender, FileSystemEventArgs e ) : void

Raises the watcher's Operation event.

Method Details

Bootstraps() public method

Initializes a new instance of the Bootstraps class.
public Bootstraps ( string applicationPath, string configPath, int threshold ) : System
applicationPath string The application path.
configPath string The configuration file path, if applicable.
threshold int The threshold, in milliseconds, to compress file system events into.
return System

Dispose() public method

Disposes of resources used by this instance.
public Dispose ( ) : void
return void

PullUp() public method

Pulls up this instance's app domain, if it is not already loaded.
public PullUp ( ) : BootstrapsPullupResult
return BootstrapsPullupResult

Pushdown() public method

Destroys this instance app domain.
public Pushdown ( bool force ) : void
force bool A value indicating whether to force destruction immediately, /// without waiting for pending jobs to complete.
return void