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

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.

Adds a strategy to the builder.