Inheritance: IDisposable
Beispiel #1
0
        public void TearDown()
        {
            Monitor.Dispose();
            Monitor = null;

            System.IO.Directory.Delete(TempFolder, true);
        }
Beispiel #2
0
 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);
 }
Beispiel #3
0
        public void TearDown()
        {
            Monitor.Dispose();
            Monitor = null;

            System.IO.Directory.Delete(TempFolder, true);
        }
Beispiel #4
0
 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);
 }