public abstract RemoveDirectory ( string fullPath, bool recursive ) : void | ||
fullPath | string | |
recursive | bool | |
Результат | void |
public void Delete(bool recursive) { FileSystem.RemoveDirectory(FullPath, recursive); }
public override void Delete() { FileSystem.RemoveDirectory(FullPath, false); }
public static void Delete(string path, bool recursive) { string fullPath = Path.GetFullPath(path); FileSystem.RemoveDirectory(fullPath, recursive); }
public override void Delete() => FileSystem.RemoveDirectory(FullPath, recursive: false);
public static void Delete(string path) { string fullPath = Path.GetFullPath(path); FileSystem.RemoveDirectory(fullPath, false); }