Changeset 11650 for trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld
- 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/Regression/RealWorld/RealWorldRegressionInstanceProvider.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 { … … 52 52 var solutionsArchiveName = GetResourceName(FileName + @"\.zip"); 53 53 if (!String.IsNullOrEmpty(solutionsArchiveName)) { 54 using (var solutionsZipFile = new Zip InputStream(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName))) {54 using (var solutionsZipFile = new ZipArchive(GetType().Assembly.GetManifestResourceStream(solutionsArchiveName), ZipArchiveMode.Read)) { 55 55 IList<string> entries = new List<string>(); 56 ZipEntry curEntry; 57 while ((curEntry = solutionsZipFile.GetNextEntry()) != null) { 56 foreach (var curEntry in solutionsZipFile.Entries) { 58 57 entries.Add(curEntry.Name); 59 58 }
Note: See TracChangeset
for help on using the changeset viewer.