C# Class UnitWrappers.System.IO.FileSystemWatcherWrap

Inheritance: IFileSystemWatcher
Mostrar archivo Open project: OpenSharp/UnitWrappers

Private Properties

Property Type Description

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

BeginInit() public method

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

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndInit() public method

Notifies the object that initialization is complete.
public EndInit ( ) : void
return void

FileSystemWatcherWrap() public method

Initializes a new instance of the class.
public FileSystemWatcherWrap ( ) : System
return System

FileSystemWatcherWrap() public method

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

FileSystemWatcherWrap() public method

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
return System

WaitForChanged() public method

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
return WaitForChangedResult

WaitForChanged() public method

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
return WaitForChangedResult