<PackageReference Include="Polly.Core" Version="8.0.0-alpha.5" />

ResilienceStrategyBuilderBase

public abstract class ResilienceStrategyBuilderBase
A builder that is used to create an instance of ResilienceStrategy.
public string BuilderName { get; set; }

Gets or sets the name of the builder.

public DiagnosticSource DiagnosticSource { get; set; }

Gets or sets the DiagnosticSource that is used by Polly to report resilience events.

Gets or sets the callback that is invoked just before the final resilience strategy is being created.

Gets the custom properties attached to builder options.

public Func<double> Randomizer { get; set; }

Gets or sets the randomizer that is used by strategies that need to generate random numbers.