mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(BuildFileList): returns IList instead of IEnumerable.
This commit is contained in:
parent
58f97183ac
commit
61bd342f54
@ -69,7 +69,7 @@ namespace GARbro.GUI
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
IEnumerable<Entry> file_list;
|
IList<Entry> file_list;
|
||||||
if (format.IsHierarchic)
|
if (format.IsHierarchic)
|
||||||
file_list = BuildFileList (items, AddFilesRecursive);
|
file_list = BuildFileList (items, AddFilesRecursive);
|
||||||
else
|
else
|
||||||
@ -140,7 +140,7 @@ namespace GARbro.GUI
|
|||||||
|
|
||||||
delegate void AddFilesEnumerator (IList<Entry> list, string path, DirectoryInfo path_info);
|
delegate void AddFilesEnumerator (IList<Entry> list, string path, DirectoryInfo path_info);
|
||||||
|
|
||||||
IEnumerable<Entry> BuildFileList (IEnumerable<EntryViewModel> files, AddFilesEnumerator add_files)
|
IList<Entry> BuildFileList (IEnumerable<EntryViewModel> files, AddFilesEnumerator add_files)
|
||||||
{
|
{
|
||||||
var list = new List<Entry>();
|
var list = new List<Entry>();
|
||||||
foreach (var entry in files)
|
foreach (var entry in files)
|
||||||
|
Loading…
Reference in New Issue
Block a user