Ejemplo n.º 1
0
        public void DeleteRepository()
        {
            PhysicalDirectory.Empty();
            Mountpoint.Empty();

            Directory.Delete(PhysicalDirectory.FullName);
            Directory.Delete(Mountpoint.FullName);
        }
Ejemplo n.º 2
0
 public void DeleteRepository()
 {
     if (Directory.Exists(PhysicalDirectory.FullName))
     {
         PhysicalDirectory.Empty();
         Directory.Delete(PhysicalDirectory.FullName);
     }
     if (Directory.Exists(Mountpoint.FullName))
     {
         Mountpoint.Empty();
         Directory.Delete(Mountpoint.FullName);
     }
 }