Exemplo n.º 1
0
 private static void SaveComprDumps(Compressor compr, string destDir)
 {
     foreach (var dumpname in compr.Dumps.Keys)
     {
         CsvTable table    = new CsvTable();
         var      dumpdata = compr.Dumps[dumpname];
         for (int i = 0; i < dumpdata.Length; i++)
         {
             table[i, 0] = dumpdata[i];
         }
         table.SaveToFile(Path.Combine(destDir, "dump-{0}.csv".Fmt(dumpname)));
     }
 }