C# Class BlueCollar.Console.Bootstraps

Inheritance: IDisposable
Afficher le fichier Open project: ChadBurggraf/blue-collar Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat System

Dispose() public méthode

Disposes of resources used by this instance.
public Dispose ( ) : void
Résultat void

PullUp() public méthode

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

Pushdown() public méthode

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.
Résultat void