private void InitializeFileWatcher(string requestKey) { _watchr?.StopWatching(); _watchr = null; _watchr = new ThrottledFileWatcher1(); _watchr.FileChanged += _watchr_FileChanged; _watchr.StartWatching(GetFilePath(requestKey)); }
public void StopWatching() => _watchr.StopWatching();
private void StopWatchingLDB() { _watchr.StopWatching(); }
private void StopWatchingFile() { _watchr.StopWatching(); _log.Add($"Stopped watching {_filePath}"); }