3 writes to Window
RateLimitingSample (1)
SampleRateLimiterPolicy.cs (1)
33Window = TimeSpan.FromSeconds(5),
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
113Window = options.Window,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
79Window = options.Window,
5 references to Window
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
113Window = options.Window,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (4)
69if (options.Window <= TimeSpan.Zero) 71throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThanTimeSpan0, nameof(options.Window)), nameof(options)); 79Window = options.Window, 85_replenishmentPeriod = new TimeSpan(_options.Window.Ticks / _options.SegmentsPerWindow);