ResilienceStrategyRegistry<TKey>
Represents a registry of resilience strategies and builders that are accessible by TKey.
public ResilienceStrategyRegistry()
Initializes a new instance of the ResilienceStrategyRegistry<T> class with the default comparer.
Initializes a new instance of the ResilienceStrategyRegistry<T> class with a custom builder factory and comparer.
Clears all cached strategies.
Clears all cached generic strategies.
Removes a resilience strategy from the registry.
Removes a generic resilience strategy from the registry.
Removes a resilience strategy builder from the registry.
Removes a generic resilience strategy builder from the registry.
Tries to add an existing resilience strategy to the registry.
Tries to add an existing generic resilience strategy to the registry.
public bool TryAddBuilder(TKey key, Action<ResilienceStrategyBuilder, ConfigureBuilderContext<TKey>> configure)
Tries to add a resilience strategy builder to the registry.
public bool TryAddBuilder<TResult>(TKey key, Action<ResilienceStrategyBuilder<TResult>, ConfigureBuilderContext<TKey>> configure)
Tries to add a generic resilience strategy builder to the registry.