Skip to content

Commit

Permalink
Update ActionExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
joymon authored Mar 2, 2020
1 parent 5040e2e commit 0bd2848
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DotNet.Helpers/Core/ActionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void ExecuteWithCatch(this Action action, Action<Exception> catchB
action.ExecuteWithCatchAndFinally(catchBody, () => { });
}
/// <summary>
/// Executes <see cref="Action"/> with <paramref name="delaysInMilliSecondsBetweenRetries"/> retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>
/// Executes <see cref="Action"/> with <paramref name="delaysInMilliSecondsBetweenRetries"/> retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>.
/// </summary>
/// <typeparam name="ExceptionType">Type of Exception on which retry happens</typeparam>
/// <param name="action">The action which to be executed with retry</param>
Expand All @@ -69,7 +69,7 @@ public static void ExecuteWithRetry<ExceptionType>(this Action action, int[] del
}, delaysInMilliSecondsBetweenRetries, shouldRetry);
}
/// <summary>
/// Executes <see cref="Action"/> with <paramref name="delaysInMilliSecondsBetweenRetries"/> retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>
/// Executes <see cref="Action"/> with <paramref name="delaysInMilliSecondsBetweenRetries"/> retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>.
/// </summary>
/// <typeparam name="ExceptionType">Type of Exception on which retry happens</typeparam>
/// <param name="action">The action which to be executed with retry</param>
Expand All @@ -79,7 +79,7 @@ public static void ExecuteWithRetry<ExceptionType>(this Action action, int[] del
action.ExecuteWithRetry<ExceptionType>(delaysInMilliSecondsBetweenRetries, (ex) => true);
}
/// <summary>
/// Executes action with 3 retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>
/// Executes action with 3 retries, if the Exception thrown of type <typeparamref name="ExceptionType"/>.
/// </summary>
/// <typeparam name="ExceptionType">Type of Exception on which retry happens</typeparam>
/// <param name="action">The <see cref="Action"/> which to be executed with retry</param>
Expand Down

0 comments on commit 0bd2848

Please sign in to comment.