Exemple #1
0
 protected Task RunAsync(TestInContext test, [CallerMemberName] string memberName = "")
 {
     return(RunAsync(test, mb => RunInContext(() => test.Test(mb)), memberName));
 }
 protected Task RunAsync <TContext>(TestInContext <TContext> test, [CallerMemberName] string memberName = "") where TContext : IDisposable
 {
     return(RunAsync(test, mb => RunInContext(() => test.Test(mb)), memberName));
 }