예제 #1
0
        private async void btnParallelAsync2_Click(object sender, RoutedEventArgs e)
        {
            var progress = new Progress <ProgressReportModel>();

            progress.ProgressChanged += ReportProgress;

            InitTest("PARALLEL ASYNC");

            results = await ParallelAsync.RunDownloadParallelASync2(progress, cts.Token);

            EndTest();
        }