RemoveDirectory() public abstract méthode

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

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

            FileSystem.RemoveDirectory(fullPath, false);
        }