private async Task exportSimulationResultsToCsv(Simulation simulation, string outputFolder, string projectName) { var simulationResultFileFullPath = csvPathUnder(outputFolder, simulation.Name, projectName); await _simulationExportTask.ExportResultsToCSVAsync(simulation, simulationResultFileFullPath); _logger.AddDebug($"Exporting simulation results to '{simulationResultFileFullPath}'"); }
private Task exportSimulationResultsToCSV(DirectoryInfo directoryInfo, string projectName, IndividualSimulation simulation, string type) { _logger.AddDebug($"Exporting {type} results for simulation '{simulation.Name}'"); var fileName = createFileName(directoryInfo, projectName, simulation, Constants.Filter.CSV_EXTENSION); return(_simulationExportTask.ExportResultsToCSVAsync(simulation, fileName)); }