RemoveDirectory() 공개 추상적인 메소드

public abstract RemoveDirectory ( string fullPath, bool recursive ) : void
fullPath string
recursive bool
리턴 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);
        }