public RetryExecutor(RetryStrategy retryStrategy)
 {
     this.retryStrategy = retryStrategy;
 }
예제 #2
0
        public DataService()
        {
            RetryStrategy retryStrategy = new RetryStrategy(3, TimeSpan.FromSeconds(2));

            retryExecutor = new RetryExecutor(retryStrategy);
        }