<PackageReference Include="Polly.Core" Version="8.2.1" />

ResiliencePipelineRegistryOptions<TKey>

An options class used by ResiliencePipelineRegistry<T>.
public IEqualityComparer<TKey> BuilderComparer { get; set; }

Gets or sets the comparer that is used by the registry to retrieve the resilience pipeline builders.

Gets or sets the factory method that creates instances of ResiliencePipelineBuilder.

public Func<TKey, string> BuilderNameFormatter { get; set; }

Gets or sets the formatter that is used by the registry to format the TKey to a string that represents the builder name.

public Func<TKey, string> InstanceNameFormatter { get; set; }

Gets or sets the formatter that is used by the registry to format the TKey to a string that represents the instance name of the builder.

public IEqualityComparer<TKey> PipelineComparer { get; set; }

Gets or sets the comparer that is used by the registry to retrieve the resilience pipelines.