Exemple #1
0
        private static async Task AggregateResultsAndCreateCsvFile(IEnumerable <string> args, string fileName)
        {
            using FileStream fs = new FileStream(fileName, FileMode.Create);

            var aggregator = new TournamentAggregator();
            await aggregator.AggregateResultsAndExportToCsv(args, fs);

            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine($"Aggregation finished, results can be found in {Path.GetFullPath(fileName)}");
        }
Exemple #2
0
 public TournamentAggregatorTest()
 {
     _aggregator = new TournamentAggregator();
 }