RemoveDirectory() public abstract method

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

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

            FileSystem.RemoveDirectory(fullPath, false);
        }