RemoveDirectory() public abstract method

public abstract RemoveDirectory ( string fullPath, bool recursive ) : void
fullPath string
recursive bool
return void
示例#1
0
 public void Delete(bool recursive)
 {
     FileSystem.RemoveDirectory(FullPath, recursive);
 }
示例#2
0
 public override void Delete()
 {
     FileSystem.RemoveDirectory(FullPath, false);
 }
示例#3
0
        public static void Delete(string path, bool recursive)
        {
            string fullPath = Path.GetFullPath(path);

            FileSystem.RemoveDirectory(fullPath, recursive);
        }
示例#4
0
 public override void Delete() => FileSystem.RemoveDirectory(FullPath, recursive: false);
示例#5
0
        public static void Delete(string path)
        {
            string fullPath = Path.GetFullPath(path);

            FileSystem.RemoveDirectory(fullPath, false);
        }