private async Task When_Choosing_Random_Await_Between_MIN_And_MAX_Seconds(int min, int max)
 {
     st = new StrategyAwaitRandom(min * 1000, max * 1000);
     await Task.Delay(1);
 }
示例#2
0
 public RetarderMiddleware(IStrategyAwait strategyAwait)
 {
     this.strategyAwait = strategyAwait;
 }
 private async Task When_Choosing_Fixed_Await_For_NRSECONDS_Seconds(int nrSeconds)
 {
     st = new StrategyAwaitFixed(nrSeconds * 1000);
     await Task.Delay(1);
 }