<PackageReference Include="Polly" Version="8.6.6" />

Polly.Registry.IPolicyRegistry<TKey>

Represents a collection of policies keyed by TKey.
namespace Polly.Registry { public interface IPolicyRegistry<TKey> : IReadOnlyPolicyRegistry<TKey>, IEnumerable<KeyValuePair<TKey, IsPolicy>>, IEnumerable { new IsPolicy this[TKey key] { get; set; } void Add<TPolicy>(TKey key, TPolicy policy) where TPolicy : IsPolicy; bool Remove(TKey key); void Clear(); } }