C# Class UnitWrappers.System.IO.FileSystemWatcherWrap

Inheritance: IFileSystemWatcher
Afficher le fichier Open project: OpenSharp/UnitWrappers

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BeginInit ( ) : void

Notifies the object that initialization is beginning and tells it to standby.

Dispose ( ) : void
EndInit ( ) : void

Notifies the object that initialization is complete.

FileSystemWatcherWrap ( ) : System

Initializes a new instance of the class.

FileSystemWatcherWrap ( string path ) : System

Initializes a new instance of the class, given the specified directory to monitor.

FileSystemWatcherWrap ( string path, string filter ) : System

Initializes a new instance of the class, given the specified directory and type of files to monitor.

WaitForChanged ( WatcherChangeTypes changeType ) : WaitForChangedResult

A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change that you wish to monitor.

WaitForChanged ( WatcherChangeTypes changeType, int timeout ) : WaitForChangedResult

A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change that you wish to monitor and the time (in milliseconds) to wait before timing out.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

BeginInit() public méthode

Notifies the object that initialization is beginning and tells it to standby.
public BeginInit ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndInit() public méthode

Notifies the object that initialization is complete.
public EndInit ( ) : void
Résultat void

FileSystemWatcherWrap() public méthode

Initializes a new instance of the class.
public FileSystemWatcherWrap ( ) : System
Résultat System

FileSystemWatcherWrap() public méthode

Initializes a new instance of the class, given the specified directory to monitor.
public FileSystemWatcherWrap ( string path ) : System
path string
Résultat System

FileSystemWatcherWrap() public méthode

Initializes a new instance of the class, given the specified directory and type of files to monitor.
public FileSystemWatcherWrap ( string path, string filter ) : System
path string
filter string
Résultat System

WaitForChanged() public méthode

A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change that you wish to monitor.
public WaitForChanged ( WatcherChangeTypes changeType ) : WaitForChangedResult
changeType WatcherChangeTypes
Résultat WaitForChangedResult

WaitForChanged() public méthode

A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change that you wish to monitor and the time (in milliseconds) to wait before timing out.
public WaitForChanged ( WatcherChangeTypes changeType, int timeout ) : WaitForChangedResult
changeType WatcherChangeTypes
timeout int
Résultat WaitForChangedResult