void watcher_Changed(VirtualWatcherChangeTypes watcherChangeTypes, string url) { if (!IsExtensionSupported(url)) return; if ((watcherChangeTypes & VirtualWatcherChangeTypes.Created) != 0) Files.Add(url); if ((watcherChangeTypes & VirtualWatcherChangeTypes.Deleted) != 0) Files.Remove(url); //if ((watcherChangeTypes & WatcherChangeTypes.Renamed) != 0) // Files.Remove(url); }
void watcher_Changed(VirtualWatcherChangeTypes watcherChangeTypes, string url) { if (!IsExtensionSupported(url)) { return; } if ((watcherChangeTypes & VirtualWatcherChangeTypes.Created) != 0) { Files.Add(url); } if ((watcherChangeTypes & VirtualWatcherChangeTypes.Deleted) != 0) { Files.Remove(url); } //if ((watcherChangeTypes & WatcherChangeTypes.Renamed) != 0) // Files.Remove(url); }