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)
79AutoReplenishment = 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)
40public override bool IsAutoReplenishing => _options.AutoReplenishment; 79AutoReplenishment = options.AutoReplenishment 87if (_options.AutoReplenishment) 264/// <see langword="false"/> if <see cref="TokenBucketRateLimiterOptions.AutoReplenishment"/> is enabled, otherwise <see langword="true"/>. 269if (_options.AutoReplenishment) 308if (_options.AutoReplenishment)