Ejemplo n.º 1
0
 public static FileSystemWatcher Watch(this FileSystemWatcher watcher, string dir, params string[] filters)
 {
     watcher.Path = dir;
     return(watcher.AddFilters(filters));
 }