Ejemplo n.º 1
0
 public static FileSystemWatcher WatchOnly(this FileSystemWatcher watcher, string dir, string filter)
 {
     watcher.Path = dir;
     return(watcher.Filter(filter));
 }