Exemplo n.º 1
0
 internal Directory(IFileSystem rootFs, IFileGuidProvider fileGuidProvider)
 {
     this.RootFileSystem   = rootFs;
     this.ThisDirectory    = rootFs.GetDirectoryEntry("/");
     this.Name             = "#FSROOT";
     this.FileGuidProvider = fileGuidProvider;
 }
Exemplo n.º 2
0
 internal Directory(string name, IFileSystem rootFs, DirectoryEntry parentDirectory, IFileGuidProvider fileGuidProvider)
 {
     this.RootFileSystem   = rootFs;
     this.ThisDirectory    = parentDirectory.CreateSubdirectory(name);
     this.Name             = name;
     this.FileGuidProvider = fileGuidProvider;
 }