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

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