Polly.Simmy.ChaosStrategyOptions
The options associated with the ChaosStrategy.
namespace Polly.Simmy
{
public abstract class ChaosStrategyOptions : ResilienceStrategyOptions
{
public double InjectionRate { get; set; }
public Func<InjectionRateGeneratorArguments, ValueTask<double>> InjectionRateGenerator { get; set; }
public Func<EnabledGeneratorArguments, ValueTask<bool>> EnabledGenerator { get; set; }
public bool Enabled { get; set; }
public Func<double> Randomizer { get; set; }
protected ChaosStrategyOptions();
}
}