Class FileWatcher
Inheritance
System.Object
FileWatcher
Assembly: AsaLib.dll
Syntax
public class FileWatcher : IDisposable
Constructors
|
Improve this Doc
View Source
FileWatcher()
Declaration
|
Improve this Doc
View Source
FileWatcher(String)
Declaration
public FileWatcher(String DirectoryName)
Parameters
| Type |
Name |
Description |
| String |
DirectoryName |
|
|
Improve this Doc
View Source
FileWatcher(String, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>)
Declaration
public FileWatcher(String DirectoryName, Action<EventArgs> OnChangedAction, Action<EventArgs> OnCreatedAction, Action<EventArgs> OnDeletedAction, Action<EventArgs> OnRenamedAction)
Parameters
| Type |
Name |
Description |
| String |
DirectoryName |
|
| Action<EventArgs> |
OnChangedAction |
|
| Action<EventArgs> |
OnCreatedAction |
|
| Action<EventArgs> |
OnDeletedAction |
|
| Action<EventArgs> |
OnRenamedAction |
|
|
Improve this Doc
View Source
FileWatcher(String, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, NotifyFilters, Boolean)
Declaration
public FileWatcher(String DirectoryName, Action<EventArgs> OnChangedAction, Action<EventArgs> OnCreatedAction, Action<EventArgs> OnDeletedAction, Action<EventArgs> OnRenamedAction, NotifyFilters NotifyFilters, bool IncludeSubdirectories)
Parameters
| Type |
Name |
Description |
| String |
DirectoryName |
|
| Action<EventArgs> |
OnChangedAction |
|
| Action<EventArgs> |
OnCreatedAction |
|
| Action<EventArgs> |
OnDeletedAction |
|
| Action<EventArgs> |
OnRenamedAction |
|
| NotifyFilters |
NotifyFilters |
|
| System.Boolean |
IncludeSubdirectories |
|
Properties
|
Improve this Doc
View Source
EventList
Declaration
public List<EventArgs> EventList { get; }
Property Value
| Type |
Description |
| List<EventArgs> |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
|
Improve this Doc
View Source
IsRunning()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Start()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration