Skip to content

Commit

Permalink
Fix naming leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdmitrij committed May 15, 2024
1 parent 306ce1b commit bdd04b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Polly/Timeout/TimeoutSyntax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public static TimeoutPolicy Timeout(TimeSpan duration, TimeoutStrategy timeoutSt
/// Builds a <see cref="Policy"/> that will wait for a delegate to complete for a specified period of time. A <see cref="TimeoutRejectedException"/> will be thrown if the delegate does not complete within the configured timeout.
/// </summary>
/// <param name="duration">The duration of timeout.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, and a <see cref="Task"/> capturing the abandoned, timed-out action.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, and a <see cref="Task"/> capturing the abandoned, timed-out action.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be a positive TimeSpan (or Timeout.InfiniteTimeSpan to indicate no timeout).</exception>
Expand All @@ -152,7 +152,7 @@ public static TimeoutPolicy Timeout(TimeSpan duration, Action<Context, TimeSpan,
/// Builds a <see cref="Policy"/> that will wait for a delegate to complete for a specified period of time. A <see cref="TimeoutRejectedException"/> will be thrown if the delegate does not complete within the configured timeout.
/// </summary>
/// <param name="duration">The duration of timeout.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, the <see cref="Task"/> capturing the abandoned, timed-out action, and captured <see cref="Exception"/>.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, the <see cref="Task"/> capturing the abandoned, timed-out action, and captured <see cref="Exception"/>.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be greater than zero.</exception>
Expand All @@ -169,7 +169,7 @@ public static TimeoutPolicy Timeout(TimeSpan duration, Action<Context, TimeSpan,
/// </summary>
/// <param name="duration">The duration of timeout.</param>
/// <param name="timeoutStrategy">The timeout strategy.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, and a <see cref="Task" /> capturing the abandoned, timed-out action.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, and a <see cref="Task" /> capturing the abandoned, timed-out action.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be a positive TimeSpan (or Timeout.InfiniteTimeSpan to indicate no timeout).</exception>
Expand All @@ -186,7 +186,7 @@ public static TimeoutPolicy Timeout(TimeSpan duration, TimeoutStrategy timeoutSt
/// </summary>
/// <param name="duration">The duration of timeout.</param>
/// <param name="timeoutStrategy">The timeout strategy.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, the <see cref="Task" /> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, the <see cref="Task" /> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be greater than zero.</exception>
Expand Down
8 changes: 4 additions & 4 deletions src/Polly/Timeout/TimeoutTResultSyntax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static TimeoutPolicy<TResult> Timeout<TResult>(TimeSpan duration, Timeout
/// </summary>
/// <typeparam name="TResult">The return type of delegates which may be executed through the policy.</typeparam>
/// <param name="duration">The duration of timeout.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, and a <see cref="Task{TResult}"/> capturing the abandoned, timed-out action.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, and a <see cref="Task{TResult}"/> capturing the abandoned, timed-out action.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be a positive TimeSpan (or Timeout.InfiniteTimeSpan to indicate no timeout).</exception>
Expand All @@ -160,7 +160,7 @@ public static TimeoutPolicy<TResult> Timeout<TResult>(TimeSpan duration, Action<
/// </summary>
/// <typeparam name="TResult">The return type of delegates which may be executed through the policy.</typeparam>
/// <param name="duration">The duration of timeout.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, the <see cref="Task{TResult}"/> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, the <see cref="Task{TResult}"/> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be greater than zero.</exception>
Expand All @@ -177,7 +177,7 @@ public static TimeoutPolicy<TResult> Timeout<TResult>(TimeSpan duration, Action<
/// <typeparam name="TResult">The return type of delegates which may be executed through the policy.</typeparam>
/// <param name="duration">The duration of timeout.</param>
/// <param name="timeoutStrategy">The timeout strategy.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, and a <see cref="Task{TResult}" /> capturing the abandoned, timed-out action.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, and a <see cref="Task{TResult}" /> capturing the abandoned, timed-out action.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be a positive TimeSpan (or Timeout.InfiniteTimeSpan to indicate no timeout).</exception>
Expand All @@ -194,7 +194,7 @@ public static TimeoutPolicy<TResult> Timeout<TResult>(TimeSpan duration, Timeout
/// <typeparam name="TResult">The return type of delegates which may be executed through the policy.</typeparam>
/// <param name="duration">The duration of timeout.</param>
/// <param name="timeoutStrategy">The timeout strategy.</param>
/// <param name="onTimeout">An action to call on duration, passing the execution context, the timeout applied, the <see cref="Task{TResult}" /> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <param name="onTimeout">An action to call on timeout, passing the execution context, the timeout applied, the <see cref="Task{TResult}" /> capturing the abandoned, timed-out action, and the captured <see cref="Exception"/>.
/// <remarks>The Task parameter will be null if the executed action responded cooperatively to cancellation before the policy timed it out.</remarks></param>
/// <returns>The policy instance.</returns>
/// <exception cref="ArgumentOutOfRangeException">duration;Value must be greater than zero.</exception>
Expand Down

0 comments on commit bdd04b5

Please sign in to comment.