示例#1
0
 public void CreateDir(MyDirectory dir)
 {
     current.directories.Add(dir);
 }
示例#2
0
 public MyFileSystem()
 {
     rootDir = new MyDirectory();
     current = rootDir;
 }
 public void CreateDir(MyDirectory dir)
 {
     current.directories.Add(dir);
 }
        public MyDirectory findDir()
        {
            MyDirectory dir = null;

            return(dir);
        }
 public MyFileSystem()
 {
     rootDir = new MyDirectory();
     current = rootDir;
 }