From 380244e9c3e3a31f2de509c70fa799028270d509 Mon Sep 17 00:00:00 2001 From: martintmk Date: Tue, 16 May 2023 08:55:27 +0200 Subject: [PATCH] clenaup --- src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs | 2 +- src/Polly.Core/Retry/RetryStrategyOptions.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs b/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs index a7040e98c03..14f7fed9f9e 100644 --- a/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs +++ b/src/Polly.Core/Retry/RetryStrategyOptions.TResult.cs @@ -67,7 +67,7 @@ public class RetryStrategyOptions : ResilienceStrategyOptions public OutcomePredicate ShouldRetry { get; set; } = new(); /// - /// Gets or sets the instance that is used to generated the delay between retries. + /// Gets or sets the generator instance that is used to calculate the time between retries. /// /// /// By default, the generator is empty and it does not affect the delay between retries. diff --git a/src/Polly.Core/Retry/RetryStrategyOptions.cs b/src/Polly.Core/Retry/RetryStrategyOptions.cs index 1ec858e5026..e3d0c517666 100644 --- a/src/Polly.Core/Retry/RetryStrategyOptions.cs +++ b/src/Polly.Core/Retry/RetryStrategyOptions.cs @@ -22,7 +22,7 @@ public class RetryStrategyOptions : ResilienceStrategyOptions /// Gets or sets the maximum number of retries to use, in addition to the original call. /// /// - /// Defaults to 3 retries. For infinite retries use InfiniteRetry (-1). + /// Defaults to 3 retries. For infinite retries use (-1). /// [Range(InfiniteRetryCount, RetryConstants.MaxRetryCount)] public int RetryCount { get; set; } = RetryConstants.DefaultRetryCount; @@ -71,7 +71,7 @@ public class RetryStrategyOptions : ResilienceStrategyOptions public OutcomePredicate ShouldRetry { get; set; } = new(); /// - /// Gets or sets the instance that is used to generated the delay between retries. + /// Gets or sets the generator instance that is used to calculate the time between retries. /// /// /// By default, the generator is empty and it does not affect the delay between retries.