public void SetUp () { _path = Path.GetFullPath(Guid.NewGuid().ToString()); Directory.CreateDirectory(_path); monitor = new FileSystemMonitor(_path); monitor.Start(); tester = new FileSystemMonitorTester(_path); sync = new Semaphore(0); msecs = 1000; aFile = "foo.txt"; }
public void SetUp() { _path = Path.GetFullPath(Guid.NewGuid().ToString()); Directory.CreateDirectory(_path); monitor = new FileSystemMonitor(_path); monitor.Start(); tester = new FileSystemMonitorTester(_path); sync = new Semaphore(0); msecs = 1000; aFile = "foo.txt"; }