Example #1
0
 internal void OnEnabledChanged(FileWatcher sender, EventArgs e)
 {
     EnabledChanged?.Invoke(sender, e);
 }
Example #2
0
 internal void OnDeleting(FileWatcher sender, EventArgs e)
 {
     Deleting?.Invoke(sender, e);
     WatchList.Remove(sender);
 }
Example #3
0
 internal void OnChanged(FileWatcher sender, FileSystemEventArgs e)
 {
     Changed?.Invoke(sender, e);
 }
Example #4
0
 internal void OnRenamed(FileWatcher sender, RenamedEventArgs e)
 {
     Renamed?.Invoke(sender, e);
 }
Example #5
0
 internal Task OnRenaming(FileWatcher sender, RenamedEventArgs e)
 {
     return(Renaming.Invoke(sender, e));
 }