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)
81AutoReplenishment = 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)
42public override bool IsAutoReplenishing => _options.AutoReplenishment; 81AutoReplenishment = options.AutoReplenishment 93if (_options.AutoReplenishment) 261/// False if <see cref="SlidingWindowRateLimiterOptions.AutoReplenishment"/> is enabled, otherwise true. 266if (_options.AutoReplenishment) 299if (RateLimiterHelper.GetElapsedTime(_lastReplenishmentTick, nowTicks) < ReplenishmentPeriod && !_options.AutoReplenishment)