Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Aug 17, 2023
1 parent 603a43d commit 526dfb2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Polly.Core/Registry/ResiliencePipelineProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public abstract class ResiliencePipelineProvider<TKey>
/// <param name="key">The key used to identify the resilience pipeline.</param>
/// <returns>The resilience pipeline associated with the specified key.</returns>
/// <exception cref="KeyNotFoundException">Thrown when no resilience pipeline is found for the specified key.</exception>
/// <exception cref="ObjectDisposedException">Thrown when the provider is already disposed.</exception>
public virtual ResiliencePipeline GetPipeline(TKey key)
{
if (TryGetPipeline(key, out var pipeline))
Expand All @@ -36,7 +35,6 @@ public virtual ResiliencePipeline GetPipeline(TKey key)
/// <param name="key">The key used to identify the resilience pipeline.</param>
/// <returns>The resilience pipeline associated with the specified key.</returns>
/// <exception cref="KeyNotFoundException">Thrown when no resilience pipeline is found for the specified key.</exception>
/// <exception cref="ObjectDisposedException">Thrown when the provider is already disposed.</exception>
public virtual ResiliencePipeline<TResult> GetPipeline<TResult>(TKey key)
{
if (TryGetPipeline<TResult>(key, out var pipeline))
Expand All @@ -54,7 +52,6 @@ public virtual ResiliencePipeline<TResult> GetPipeline<TResult>(TKey key)
/// <param name="key">The key used to identify the resilience pipeline.</param>
/// <param name="pipeline">The output resilience pipeline if found, <see langword="null"/> otherwise.</param>
/// <returns><see langword="true"/> if the pipeline was found, <see langword="false"/> otherwise.</returns>
/// <exception cref="ObjectDisposedException">Thrown when the provider is already disposed.</exception>
public abstract bool TryGetPipeline(TKey key, [NotNullWhen(true)] out ResiliencePipeline? pipeline);

/// <summary>
Expand All @@ -64,6 +61,5 @@ public virtual ResiliencePipeline<TResult> GetPipeline<TResult>(TKey key)
/// <param name="key">The key used to identify the resilience pipeline.</param>
/// <param name="pipeline">The output resilience pipeline if found, <see langword="null"/> otherwise.</param>
/// <returns><see langword="true"/> if the pipeline was found, <see langword="false"/> otherwise.</returns>
/// <exception cref="ObjectDisposedException">Thrown when the provider is already disposed.</exception>
public abstract bool TryGetPipeline<TResult>(TKey key, [NotNullWhen(true)] out ResiliencePipeline<TResult>? pipeline);
}

0 comments on commit 526dfb2

Please sign in to comment.