예제 #1
0
파일: Folder.cs 프로젝트: DmT021/Urfunet
        public BaseFolder(BaseFileSystem fs)
        {
            this.FS = fs;
            Name = "\\";
            init();

            RelativePath = Path.Combine(fs.RelativePath, "");
            MetaPath = Path.Combine(fs.MetaPath, "");
            RealPath = Path.Combine(fs.RealPath, "");
        }
예제 #2
0
파일: Folder.cs 프로젝트: DmT021/Urfunet
        public BaseFolder(BaseFolder ParentFolder, string Name)
        {
            this.ParentFolder = ParentFolder;
            this.FS = ParentFolder.FS;
            this.RelativePath = RelativePath;
            this.Name = Name;

            RelativePath = Path.Combine(ParentFolder.RelativePath, Name);
            MetaPath = Path.Combine(ParentFolder.MetaPath, Name);
            RealPath = Path.Combine(ParentFolder.RealPath, Name);

            init();
        }