public async Task RunCoverageAsync(ICoverageProject project, CancellationToken cancellationToken) { if (project.IsDotNetSdkStyle()) { await coverletUtil.RunCoverletAsync(project, cancellationToken); } else { await openCoverUtil.RunOpenCoverAsync(project, cancellationToken); } }
private System.Threading.Tasks.Task RunCoverToolAsync(ICoverageProject project) { if (project.IsDotNetSdkStyle()) { return(coverletUtil.RunCoverletAsync(project, true)); } else { return(openCoverUtil.RunOpenCoverAsync(project, true)); } }