C# Класс BlueCollar.FileSystemWatcher

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

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

Метод Описание
Dispose ( ) : void

Releases all resources used by this instance.

FileSystemWatcher ( ) : System

Initializes a new instance of the FileSystemWatcher class.

FileSystemWatcher ( string path ) : System

Initializes a new instance of the FileSystemWatcher class.

FileSystemWatcher ( string path, string filter ) : System

Initializes a new instance of the FileSystemWatcher class.

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

Метод Описание
DequeueEvents ( ) : void

Dequeues all of the events that have elapsed the current Threshold.

Dispose ( bool disposing ) : void

Releases all resources used by this instance.

EnqueueEvent ( string path, FileSystemEventType eventType, FileSystemEventArgs e ) : void

Enqueues and possibly throttles an event for raising.

Initialize ( ) : void

Performs initialization.

InnerWatcherChanged ( object sender, FileSystemEventArgs e ) : void

Raises the innerWatcher's Changed event.

InnerWatcherCreated ( object sender, FileSystemEventArgs e ) : void

Raises the innerWatcher's Created event.

InnerWatcherDeleted ( object sender, FileSystemEventArgs e ) : void

Raises the innerWatcher's Deleted event.

InnerWatcherDisposed ( object sender, EventArgs e ) : void

Raises the innerWatcher's Disposed event.

InnerWatcherError ( object sender, ErrorEventArgs e ) : void

Raises the innerWatcher's Error event.

InnerWatcherRenamed ( object sender, RenamedEventArgs e ) : void

Raises the innerWatcher's Renamed event.

RaiseEvent ( PathEventItem item ) : void

Raises a throttled event to any listeners of this instance.

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

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

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

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

Initializes a new instance of the FileSystemWatcher class.
public FileSystemWatcher ( ) : System
Результат System

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

Initializes a new instance of the FileSystemWatcher class.
public FileSystemWatcher ( string path ) : System
path string The directory to monitor, in standard or Universal Naming Convention (UNC) notation.
Результат System

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

Initializes a new instance of the FileSystemWatcher class.
public FileSystemWatcher ( string path, string filter ) : System
path string The directory to monitor, in standard or Universal Naming Convention (UNC) notation.
filter string The type of files to watch. For example, "*.txt" watches for changes to all text files.
Результат System