Closed GoogleCodeExporter closed 9 years ago
Fixed:
* Renamed ExtractFileList to Extract
* Added the following code in the Extract method:
List<FileInArchive> fileList = new List<FileInArchive>();
if (obj.GetType() == typeof(List<FileInArchive>))
{
fileList = (List<FileInArchive>)obj;
}
else if (obj.GetType() == typeof(FileInArchive))
{
fileList.Add((FileInArchive)obj);
}
else if (obj.GetType() == typeof(string))
{
FileInArchive tmpFIA = this.SearchForFile((string)obj);
if (tmpFIA == null)
{
return;
}
fileList.Add(tmpFIA);
}
* Rendered ExtractFile() private.
Original comment by ChryzoPh...@gmail.com
on 7 Jul 2009 at 1:50
Original issue reported on code.google.com by
Hadrian....@googlemail.com
on 6 Jul 2009 at 10:08