internal void OnEnabledChanged(FileWatcher sender, EventArgs e) { EnabledChanged?.Invoke(sender, e); }
internal void OnDeleting(FileWatcher sender, EventArgs e) { Deleting?.Invoke(sender, e); WatchList.Remove(sender); }
internal void OnChanged(FileWatcher sender, FileSystemEventArgs e) { Changed?.Invoke(sender, e); }
internal void OnRenamed(FileWatcher sender, RenamedEventArgs e) { Renamed?.Invoke(sender, e); }
internal Task OnRenaming(FileWatcher sender, RenamedEventArgs e) { return(Renaming.Invoke(sender, e)); }