Skip to content

Commit

Permalink
Cleanup the output
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Aug 17, 2023
1 parent d5654ed commit 06979ae
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ namespace Polly;
public static class CircuitBreakerResiliencePipelineBuilderExtensions
{
public static ResiliencePipelineBuilder AddCircuitBreaker(this ResiliencePipelineBuilder builder, CircuitBreakerStrategyOptions options);
public static ResiliencePipelineBuilder<TResult> AddCircuitBreaker<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TResult>(this ResiliencePipelineBuilder<TResult> builder, CircuitBreakerStrategyOptions<TResult> options);
public static ResiliencePipelineBuilder<TResult> AddCircuitBreaker<TResult>(this ResiliencePipelineBuilder<TResult> builder, CircuitBreakerStrategyOptions<TResult> options);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace Polly;

public static class FallbackResiliencePipelineBuilderExtensions
{
public static ResiliencePipelineBuilder<TResult> AddFallback<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TResult>(this ResiliencePipelineBuilder<TResult> builder, FallbackStrategyOptions<TResult> options);
public static ResiliencePipelineBuilder<TResult> AddFallback<TResult>(this ResiliencePipelineBuilder<TResult> builder, FallbackStrategyOptions<TResult> options);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace Polly;

public static class HedgingResiliencePipelineBuilderExtensions
{
public static ResiliencePipelineBuilder<TResult> AddHedging<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TResult>(this ResiliencePipelineBuilder<TResult> builder, HedgingStrategyOptions<TResult> options);
public static ResiliencePipelineBuilder<TResult> AddHedging<TResult>(this ResiliencePipelineBuilder<TResult> builder, HedgingStrategyOptions<TResult> options);
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ namespace Polly;
public static class RetryResiliencePipelineBuilderExtensions
{
public static ResiliencePipelineBuilder AddRetry(this ResiliencePipelineBuilder builder, RetryStrategyOptions options);
public static ResiliencePipelineBuilder<TResult> AddRetry<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TResult>(this ResiliencePipelineBuilder<TResult> builder, RetryStrategyOptions<TResult> options);
public static ResiliencePipelineBuilder<TResult> AddRetry<TResult>(this ResiliencePipelineBuilder<TResult> builder, RetryStrategyOptions<TResult> options);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ public sealed class AddResiliencePipelineContext<TKey> where TKey : notnull
{
public TKey PipelineKey { get; }
public IServiceProvider ServiceProvider { get; }
public void EnableReloads<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(string? name = null);
public TOptions GetOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(string? name = null);
public void EnableReloads<TOptions>(string? name = null);
public TOptions GetOptions<TOptions>(string? name = null);
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ namespace Polly.Registry;

public static class ConfigureBuilderContextExtensions
{
public static void EnableReloads<TKey, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] TOptions>(this ConfigureBuilderContext<TKey> context, IOptionsMonitor<TOptions> optionsMonitor, string? name = null) where TKey : notnull;
public static void EnableReloads<TKey, TOptions>(this ConfigureBuilderContext<TKey> context, IOptionsMonitor<TOptions> optionsMonitor, string? name = null) where TKey : notnull;
}

0 comments on commit 06979ae

Please sign in to comment.