public BaseFolder(BaseFileSystem fs) { this.FS = fs; Name = "\\"; init(); RelativePath = Path.Combine(fs.RelativePath, ""); MetaPath = Path.Combine(fs.MetaPath, ""); RealPath = Path.Combine(fs.RealPath, ""); }
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(); }