Skip to content

Commit d441426

Browse files
committed
PR comments
1 parent 10421d1 commit d441426

14 files changed

+14
-14
lines changed

src/Polly.Core/CircuitBreaker/OnCircuitClosedArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.CircuitBreaker;
66
/// Arguments used by <see cref="CircuitBreakerStrategyOptions{TResult}.OnClosed"/> event.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnCircuitClosedArguments
1212
{

src/Polly.Core/CircuitBreaker/OnCircuitHalfOpenedArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.CircuitBreaker;
66
/// Arguments used by <see cref="CircuitBreakerStrategyOptions{TResult}.OnHalfOpened"/> event.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnCircuitHalfOpenedArguments
1212
{

src/Polly.Core/CircuitBreaker/OnCircuitOpenedArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.CircuitBreaker;
66
/// Arguments used by <see cref="CircuitBreakerStrategyOptions{TResult}.OnOpened"/> event.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnCircuitOpenedArguments
1212
{

src/Polly.Core/Fallback/OnFallbackArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Polly.Fallback;
44
/// Represents arguments used in fallback handling scenarios.
55
/// </summary>
66
/// <remarks>
7-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
7+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
88
/// </remarks>
99
public readonly struct OnFallbackArguments
1010
{

src/Polly.Core/Hedging/OnHedgingArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.Hedging;
66
/// Represents arguments used by the on-hedging event.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnHedgingArguments
1212
{

src/Polly.Core/Retry/OnRetryArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.Retry;
66
/// Represents the arguments used by <see cref="RetryStrategyOptions{TResult}.OnRetry"/> for handling the retry event.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnRetryArguments
1212
{

src/Polly.Core/Telemetry/ExecutionAttemptArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/// Arguments that encapsulate the execution attempt for retries or hedging.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct ExecutionAttemptArguments
1212
{

src/Polly.Core/Telemetry/PipelineExecutedArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/// Arguments that indicate the pipeline execution started.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct PipelineExecutedArguments
1212
{

src/Polly.Core/Telemetry/PipelineExecutingArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// Arguments that indicate the pipeline execution started.
55
/// </summary>
66
/// <remarks>
7-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
7+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
88
/// </remarks>
99
public readonly struct PipelineExecutingArguments
1010
{

src/Polly.Core/Telemetry/TelemetryEventArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/// <typeparam name="TResult">The type of result.</typeparam>
99
/// <typeparam name="TArgs">The arguments associated with the resilience event.</typeparam>
1010
/// <remarks>
11-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
11+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1212
/// </remarks>
1313
public readonly struct TelemetryEventArguments<TResult, TArgs>
1414
{

src/Polly.Core/Timeout/OnTimeoutArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.Timeout;
66
/// Arguments used by the timeout strategy to notify that a timeout occurred.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct OnTimeoutArguments
1212
{

src/Polly.Core/Timeout/TimeoutGeneratorArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Polly.Timeout;
66
/// Arguments used by the timeout strategy to retrieve a timeout for current execution.
77
/// </summary>
88
/// <remarks>
9-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
9+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1010
/// </remarks>
1111
public readonly struct TimeoutGeneratorArguments
1212
{

src/Polly.Extensions/Telemetry/EnrichmentContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/// <typeparam name="TArgs">The type of the arguments attached to the resilience event.</typeparam>
1010
/// <remarks>
1111
/// This context is passed to enrichers in <see cref="TelemetryOptions.MeteringEnrichers"/>.
12-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
12+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1313
/// </remarks>
1414
public readonly struct EnrichmentContext<TResult, TArgs>
1515
{

src/Polly.RateLimiting/OnRateLimiterRejectedArguments.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Polly.RateLimiting;
88
/// The arguments used by the <see cref="RateLimiterStrategyOptions.OnRejected"/>.
99
/// </summary>
1010
/// <remarks>
11-
/// Always use constructor when creating this struct, otherwise we do not guarantee the binary compatibility.
11+
/// Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.
1212
/// </remarks>
1313
public readonly struct OnRateLimiterRejectedArguments
1414
{

0 commit comments

Comments
 (0)