Class FileWatcher
Inheritance
System.Object
FileWatcher
Implements
System.IDisposable
Namespace: MAT.OCS.Core
Assembly: MAT.OCS.Core.dll
Syntax
public sealed class FileWatcher : Object, IDisposable
Constructors
FileWatcher(String, String, Boolean, Action<Object, FileSystemEventArgs>)
Declaration
public FileWatcher(string path, string extension, bool includeSubFolders, Action<object, FileSystemEventArgs> fileSystemEventHandler)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | |
System.String | extension | |
System.Boolean | includeSubFolders | |
System.Action<System.Object, System.IO.FileSystemEventArgs> | fileSystemEventHandler |
Methods
Dispose()
Declaration
public void Dispose()
Implements
System.IDisposable