3 writes to AutoReplenishment
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
93slidingWindowRateLimiterOptions.AutoReplenishment = false;
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
115AutoReplenishment = false
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
82AutoReplenishment = options.AutoReplenishment
10 references to AutoReplenishment
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
82/// Setting <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> will have no effect here, as the <see cref="PartitionedRateLimiter"/> that this limiter is added to
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\RateLimitPartition.cs (3)
92/// Set <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> to <see langword="false"/> to save an allocation. This method will create a new options type and set <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> to <see langword="false"/> otherwise. 106if (options.AutoReplenishment is true)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (6)
43public override bool IsAutoReplenishing => _options.AutoReplenishment; 82AutoReplenishment = options.AutoReplenishment 94if (_options.AutoReplenishment) 262/// False if <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> is enabled, otherwise true. 267if (_options.AutoReplenishment) 300if (((nowTicks - _lastReplenishmentTick) * TickFrequency) < ReplenishmentPeriod.Ticks && !_options.AutoReplenishment)