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

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