public static async Task Run <T>(TaskBase task) where T : IProgressReporter, new() { await Run(new T(), task).ConfigureAwait(false); }
public static async Task Run(IProgressReporter reporter, TaskBase task) { await reporter.RunTask(task).ConfigureAwait(false); }