public CustomRetryPolicy(RetryPolicy retryPolicy) : base(retryPolicy) { }
public RetryPolicy(RetryPolicy retryPolicy) { MaxAttempts = retryPolicy.MaxAttempts; Timeout = TimeSpan.FromTicks(retryPolicy.Timeout.Ticks); InitialInterval = TimeSpan.FromTicks(retryPolicy.InitialInterval.Ticks); }