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

CompositeStrategyBuilderBase

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

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

public string InstanceName { get; set; }

Gets or sets the instance name of the builder.

public string Name { get; set; }

Gets or sets the name of the builder.

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.

Gets the validator that is used for the validation.