Esempio n. 1
0
        private async Task exportResultsToJson(IndividualSimulation simulation, string outputFolder, string exportFileName)
        {
            var fileName = Path.Combine(outputFolder, $"{exportFileName}.json");
            await _simulationResultsExporter.ExportToJsonAsync(simulation, simulation.DataRepository, fileName);

            _logger.AddDebug($"------> Exporting simulation results to '{fileName}'");
        }
Esempio n. 2
0
        private async Task exportResultsToJsonAsync(IndividualSimulation simulation, string outputFolder, string projectName)
        {
            var fileName = pathUnder(outputFolder, simulation.Name, Constants.Filter.JSON_EXTENSION, projectName);
            await _simulationResultsExporter.ExportToJsonAsync(simulation, simulation.DataRepository, fileName);

            _logger.AddDebug($"Exporting simulation results to '{fileName}'");
        }