3 writes to AutoReplenishment
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
35tokenBucketRateLimiterOptions.AutoReplenishment = false;
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
81AutoReplenishment = false
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
80AutoReplenishment = options.AutoReplenishment
10 references to AutoReplenishment
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
24/// Setting <see cref="TokenBucketRateLimiterOptions.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)
58/// Set <see cref="TokenBucketRateLimiterOptions.AutoReplenishment"/> to <see langword="false"/> to save an allocation. This method will create a new options type and set <see cref="TokenBucketRateLimiterOptions.AutoReplenishment"/> to <see langword="false"/> otherwise. 72if (options.AutoReplenishment is true)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (6)
41public override bool IsAutoReplenishing => _options.AutoReplenishment; 80AutoReplenishment = options.AutoReplenishment 88if (_options.AutoReplenishment) 265/// <see langword="false"/> if <see cref="TokenBucketRateLimiterOptions.AutoReplenishment"/> is enabled, otherwise <see langword="true"/>. 270if (_options.AutoReplenishment) 309if (_options.AutoReplenishment)