예제 #1
0
 public CustomRetryPolicy(RetryPolicy retryPolicy) : base(retryPolicy)
 {
 }
예제 #2
0
 public RetryPolicy(RetryPolicy retryPolicy)
 {
     MaxAttempts     = retryPolicy.MaxAttempts;
     Timeout         = TimeSpan.FromTicks(retryPolicy.Timeout.Ticks);
     InitialInterval = TimeSpan.FromTicks(retryPolicy.InitialInterval.Ticks);
 }