private RateLimitFeature GetSut(bool setupDefaults = true) { var feature = new RateLimitFeature(redisManager); if (setupDefaults) { feature.LimitProvider = limitProvider; feature.KeyGenerator = keyGenerator; } return(feature); }
private RateLimitFeature GetSut(bool setupDefaults = true) { var feature = new RateLimitFeature(redisManager); if (setupDefaults) { feature.LimitProvider = limitProvider; feature.KeyGenerator = keyGenerator; } return feature; }