Ejemplo n.º 1
0
        private async Task <Task> Run()
        {
            Stopwatch stopwatch = Stopwatch.StartNew();

            InitializeParsers();
            var result = await RunParsersAsync();

            stopwatch.Stop();
            Summary.ElapsedParse(stopwatch.ElapsedMilliseconds, CommandLineOptions.Output);

            long outputFileSize = new FileInfo(CommandLineOptions.Output).Length;

            Summary.Finish(CommandLineOptions.Output, outputFileSize, CommandLineOptions.Wait);

            return(result);
        }