3 writes to AutoReplenishment
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptionsExtensions.cs (1)
35
tokenBucketRateLimiterOptions.
AutoReplenishment
= false;
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
81
AutoReplenishment
= false
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
79
AutoReplenishment
= 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.
72
if (options.
AutoReplenishment
is true)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (6)
40
public override bool IsAutoReplenishing => _options.
AutoReplenishment
;
79
AutoReplenishment = options.
AutoReplenishment
87
if (_options.
AutoReplenishment
)
264
/// <see langword="false"/> if <see cref="TokenBucketRateLimiterOptions.
AutoReplenishment
"/> is enabled, otherwise <see langword="true"/>.
269
if (_options.
AutoReplenishment
)
308
if (_options.
AutoReplenishment
)