示例#1
0
 public void Open()
 {
     if (!Directory.Exists(_path))
     {
         Directory.CreateDirectory(_path);
     }
 }
示例#2
0
        public void Purge()
        {
            if (Directory.Exists(_path))
            {
                Directory.Delete(_path, true);
            }

            Directory.CreateDirectory(_path);
        }