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
ファイル: Directory.cs プロジェクト: zebmason/corefx
        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
ファイル: Directory.cs プロジェクト: zebmason/corefx
        public static void Delete(string path)
        {
            string fullPath = Path.GetFullPath(path);

            FileSystem.RemoveDirectory(fullPath, false);
        }