C# Класс BlueCollar.Console.Bootstraps

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

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

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

Приватные методы

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

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

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

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

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

Disposes of resources used by this instance.
public Dispose ( ) : void
Результат void

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

Pulls up this instance's app domain, if it is not already loaded.
public PullUp ( ) : BootstrapsPullupResult
Результат BootstrapsPullupResult

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

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