示例#1
0
 /// <inheritdoc />
 public IFileInfo[] GetFiles(string searchPattern, SearchOption searchOption)
 {
     FileInfo[] fileInfos = DirectoryInfo.GetFiles(searchPattern, searchOption);
     return(FileInfoWrap.ConvertFileInfoArrayIntoIFileInfoWrapArray(fileInfos));
 }
示例#2
0
 /// <inheritdoc />
 public IFileInfo[] GetFiles()
 {
     FileInfo[] fileInfos = DirectoryInfo.GetFiles();
     return(FileInfoWrap.ConvertFileInfoArrayIntoIFileInfoWrapArray(fileInfos));
 }