Beispiel #1
0
 public IEnumerable <IFileSystemInfo> EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)
 {
     return(SysInfo.EnumerateFileSystemInfos(searchPattern, searchOption)
            .Select(FileSystem.WrapToFileSystemInfo));
 }
Beispiel #2
0
 public IEnumerable <IFileSystemInfo> EnumerateFileSystemInfos()
 {
     return(SysInfo.EnumerateFileSystemInfos()
            .Select(FileSystem.WrapToFileSystemInfo));
 }