Esempio n. 1
0
 public FileInfoWrapper(FileInfo ff)
 {
     FileInfo = ff;
     dwrapper = new DirectoryInfoWrapper(ff.Directory);
 }
Esempio n. 2
0
        public string[] EnumerateFiles()
        {
            var dir = new DirectoryInfoWrapper(BaseDirectory.FullName);

            return(Stuff.GetAllFiles(dir).Select(z => z.FullName).ToArray());
        }
Esempio n. 3
0
 public FileInfoWrapper(string finfo)
 {
     FileInfo = new FileInfo(finfo);
     dwrapper = new DirectoryInfoWrapper(FileInfo.Directory);
 }