public RetryManager(RetryWaitTimer waitTimer, int maxRetries, int totalTimeLimit) { if (waitTimer == null) { throw new ArgumentNullException(nameof(waitTimer)); } this.waitTimer = waitTimer; this.SetMaxRetries(maxRetries); this.SetTotalTimeLimit(totalTimeLimit); }
public RetryManager(RetryWaitTimer waitTimer, int maxRetries) : this(waitTimer, maxRetries, Timeout.Infinite) { }
public RetryManager(RetryWaitTimer waitTimer) : this(waitTimer, InfiniteRetries) { }