Пример #1
0
 public Task <bool> RunCoverletAsync(ICoverageProject project, bool throwError = false)
 {
     if (coverletDataCollectorUtil.CanUseDataCollector(project))
     {
         return(coverletDataCollectorUtil.RunAsync(throwError));
     }
     return(coverletGlobalUtil.RunAsync(project, throwError));
 }
Пример #2
0
 public Task RunCoverletAsync(ICoverageProject project, CancellationToken cancellationToken)
 {
     if (coverletDataCollectorUtil.CanUseDataCollector(project))
     {
         return(coverletDataCollectorUtil.RunAsync(cancellationToken));
     }
     return(coverletGlobalUtil.RunAsync(project, cancellationToken));
 }