IFileWatcher
- Namespace: SuCoS.Helpers
- Source File: IFileWatcher.cs
The FileSystemWatcher object that monitors the source directory for file changes.
Public Methods
Start
void Start(string sourceAbsolutePath, Action<object, FileSystemEventArgs> onSourceFileChanged)
Starts the file watcher to monitor file changes in the specified source path.
Parameters:
sourceAbsolutePath(string): The path to the source directory.onSourceFileChanged(Action<object, FileSystemEventArgs>)
Stop
void Stop()
Disposes the file watcher