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

            retryExecutor = new RetryExecutor(retryStrategy);
        }