Skip to content

Commit

Permalink
Drop invalid docs
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Mar 16, 2023
1 parent 7bcb0a3 commit 23fe66e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public static partial class ResilienceStrategyExtensions
/// <param name="context">The context associated with the execution.</param>
/// <param name="state">The state associated with the execution.</param>
/// <returns>The instance of <see cref="Task"/> that represents the asynchronous execution.</returns>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static async Task ExecuteAsTaskAsync<TState>(
this IResilienceStrategy strategy,
Func<ResilienceContext, TState, Task> execution,
Expand Down
1 change: 0 additions & 1 deletion src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public static partial class ResilienceStrategyExtensions
/// <param name="context">The context associated with the execution.</param>
/// <param name="state">The s associated with the execution.</param>
/// <returns>The instance of <see cref="Task"/> that represents the asynchronous execution.</returns>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static async Task<TResult> ExecuteAsTaskAsync<TResult, TState>(
this IResilienceStrategy strategy,
Func<ResilienceContext, TState, Task<TResult>> execution,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public static partial class ResilienceStrategyExtensions
/// <param name="context">The c associated with the execution.</param>
/// <param name="state">The s associated with the execution.</param>
/// <returns>The instance of <see cref="ValueTask"/> that represents the asynchronous execution.</returns>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static async ValueTask ExecuteAsync<TState>(
this IResilienceStrategy strategy,
Func<ResilienceContext, TState, ValueTask> execution,
Expand Down Expand Up @@ -78,5 +77,5 @@ static async (c, s) =>

private static ResilienceContext GetAsyncContext(CancellationToken cancellationToken) => GetAsyncContext<VoidResult>(cancellationToken);

private static void InitializeAsyncContext(ResilienceContext context) => InitializeAsyncContext<VoidResult>(context);
private static void InitializeAsyncContext(ResilienceContext context) => InitializeAsyncContext<voidres>(context);
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public static ValueTask<TResult> ExecuteAsync<TResult, TState>(
/// <param name="execution">The execution callback.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> associated with the execution.</param>
/// <returns>The instance of <see cref="ValueTask"/> that represents the asynchronous execution.</returns>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static async ValueTask<TResult> ExecuteAsync<TResult>(
this IResilienceStrategy strategy,
Func<CancellationToken, ValueTask<TResult>> execution,
Expand Down
1 change: 0 additions & 1 deletion src/Polly.Core/ResilienceStrategyExtensions.Sync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public static partial class ResilienceStrategyExtensions
/// <param name="execution">The execution callback.</param>
/// <param name="context">The context associated with the execution.</param>
/// <param name="state">The state associated with the execution.</param>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static void Execute<TState>(
this IResilienceStrategy strategy,
Action<ResilienceContext, TState> execution,
Expand Down
1 change: 0 additions & 1 deletion src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public static partial class ResilienceStrategyExtensions
/// <param name="context">The context associated with the execution.</param>
/// <param name="state">The state associated with the execution.</param>
/// <returns>An instance of <see cref="ValueTask"/> that represents the asynchronous execution.</returns>
/// <remarks>This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback.</remarks>
public static TResult Execute<TResult, TState>(
this IResilienceStrategy strategy,
Func<ResilienceContext, TState, TResult> execution,
Expand Down

0 comments on commit 23fe66e

Please sign in to comment.