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