Пример #1
0
 public void WatchFolder(String path)
 {
     Directory.CreateDirectory(path);
     WatchedFolder watcher = new WatchedFolder(path, this);
     watchList.Add(watcher);
 }
Пример #2
0
 public void UnwatchFolder(WatchedFolder folder)
 {
     watchList.Remove(folder);
 }