private void Watcher_Event(object sender, FileSystemEventArgs e)
 {
     WatcherEvent?.Invoke(this, EventArgs.Empty);
 }
Exemple #2
0
 /**
  * Specify what is done when a file is changed, created, or deleted.
  */
 private void OnChanged(object source, FileSystemEventArgs e)
 {
     printchanged?.Invoke(e.ChangeType, "File: " + e.FullPath + " " + e.ChangeType);
 }