public void TearDown() { Monitor.Dispose(); Monitor = null; System.IO.Directory.Delete(TempFolder, true); }
public void SetUp() { TempFolder = System.IO.Path.GetTempPath() + System.IO.Path.GetRandomFileName(); System.IO.Directory.CreateDirectory(TempFolder); string[] folders = new string[] { TempFolder }; string[] filters = new string[] {}; string[] exclusions = new string[] {}; Monitor = new DiskMonitor(folders, filters, exclusions); }
public void SetUp() { TempFolder = System.IO.Path.GetTempPath() + System.IO.Path.GetRandomFileName(); System.IO.Directory.CreateDirectory(TempFolder); string[] folders = new string[] {TempFolder}; string[] filters = new string[] {}; string[] exclusions = new string[] {}; Monitor = new DiskMonitor(folders, filters, exclusions); }