Changeset 11650 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI
- Timestamp:
- 12/04/14 12:56:57 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/UCI/UCIInstanceProvider.cs
r11171 r11650 23 23 using System.Collections.Generic; 24 24 using System.IO; 25 using System.IO.Compression; 25 26 using System.Linq; 26 using ICSharpCode.SharpZipLib.Zip;27 27 28 28 namespace HeuristicLab.Problems.Instances.DataAnalysis { … … 56 56 var solutionsArchiveName = GetResourceName(FileName + @"\.zip"); 57 57 if (!String.IsNullOrEmpty(solutionsArchiveName)) { 58 using (var solutionsZipFile = new Zip InputStream(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName))) {58 using (var solutionsZipFile = new ZipArchive(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName), ZipArchiveMode.Read)) { 59 59 IList<string> entries = new List<string>(); 60 ZipEntry curEntry; 61 while ((curEntry = solutionsZipFile.GetNextEntry()) != null) { 60 foreach (var curEntry in solutionsZipFile.Entries) { 62 61 entries.Add(curEntry.Name); 63 62 }
Note: See TracChangeset
for help on using the changeset viewer.