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

ConfigureBuilderContext<TKey>

public class ConfigureBuilderContext<TKey>
The context used by ResilienceStrategyRegistry<T>.
public string BuilderName { get; }

Gets the builder name for the builder being used to create the strategy.

public TKey StrategyKey { get; }

Gets the strategy key for the strategy being created.

public string StrategyKeyString { get; }

Gets the string representation of strategy key for the strategy being created.

public void EnableReloads(Func<CancellationToken> reloadTokenProducer)

Enables dynamic reloading of the strategy retrieved from ResilienceStrategyRegistry<T>.