From 23fe66e8ad2405a2a13eda62d02252bd843dc373 Mon Sep 17 00:00:00 2001 From: martintmk Date: Thu, 16 Mar 2023 12:25:36 +0100 Subject: [PATCH] Drop invalid docs --- src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs | 1 - src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs | 1 - src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTask.cs | 3 +-- .../ResilienceStrategyExtensions.Async.ValueTaskT.cs | 1 - src/Polly.Core/ResilienceStrategyExtensions.Sync.cs | 1 - src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs b/src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs index b020baf2b98..b8b3f74944a 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.Async.Task.cs @@ -14,7 +14,6 @@ public static partial class ResilienceStrategyExtensions /// The context associated with the execution. /// The state associated with the execution. /// The instance of that represents the asynchronous execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static async Task ExecuteAsTaskAsync( this IResilienceStrategy strategy, Func execution, diff --git a/src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs b/src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs index ecb021c8973..985200549a7 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.Async.TaskT.cs @@ -12,7 +12,6 @@ public static partial class ResilienceStrategyExtensions /// The context associated with the execution. /// The s associated with the execution. /// The instance of that represents the asynchronous execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static async Task ExecuteAsTaskAsync( this IResilienceStrategy strategy, Func> execution, diff --git a/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTask.cs b/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTask.cs index e3786c97968..8fa0dcf3dac 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTask.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTask.cs @@ -19,7 +19,6 @@ public static partial class ResilienceStrategyExtensions /// The c associated with the execution. /// The s associated with the execution. /// The instance of that represents the asynchronous execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static async ValueTask ExecuteAsync( this IResilienceStrategy strategy, Func execution, @@ -78,5 +77,5 @@ static async (c, s) => private static ResilienceContext GetAsyncContext(CancellationToken cancellationToken) => GetAsyncContext(cancellationToken); - private static void InitializeAsyncContext(ResilienceContext context) => InitializeAsyncContext(context); + private static void InitializeAsyncContext(ResilienceContext context) => InitializeAsyncContext(context); } diff --git a/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTaskT.cs b/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTaskT.cs index 5a3bf10c926..7113d1fa9e3 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTaskT.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.Async.ValueTaskT.cs @@ -36,7 +36,6 @@ public static ValueTask ExecuteAsync( /// The execution callback. /// The associated with the execution. /// The instance of that represents the asynchronous execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static async ValueTask ExecuteAsync( this IResilienceStrategy strategy, Func> execution, diff --git a/src/Polly.Core/ResilienceStrategyExtensions.Sync.cs b/src/Polly.Core/ResilienceStrategyExtensions.Sync.cs index eb60f1f486e..59c6164a146 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.Sync.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.Sync.cs @@ -12,7 +12,6 @@ public static partial class ResilienceStrategyExtensions /// The execution callback. /// The context associated with the execution. /// The state associated with the execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static void Execute( this IResilienceStrategy strategy, Action execution, diff --git a/src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs b/src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs index b96747619c7..024c1b4b2e6 100644 --- a/src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs +++ b/src/Polly.Core/ResilienceStrategyExtensions.SyncT.cs @@ -14,7 +14,6 @@ public static partial class ResilienceStrategyExtensions /// The context associated with the execution. /// The state associated with the execution. /// An instance of that represents the asynchronous execution. - /// This method should not be used directly. Instead, use the dedicated extensions to execute the user provided callback. public static TResult Execute( this IResilienceStrategy strategy, Func execution,