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)
80
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)
41
public override bool IsAutoReplenishing => _options.
AutoReplenishment
;
80
AutoReplenishment = options.
AutoReplenishment
88
if (_options.
AutoReplenishment
)
265
/// <see langword="false"/> if <see cref="TokenBucketRateLimiterOptions.
AutoReplenishment
"/> is enabled, otherwise <see langword="true"/>.
270
if (_options.
AutoReplenishment
)
309
if (_options.
AutoReplenishment
)