10 references to Name
System.Threading.RateLimiting (10)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (2)
369private static readonly string[] s_allMetadataNames = new[] { MetadataName.ReasonPhrase.Name }; 393if (_reason is not null && metadataName == MetadataName.ReasonPhrase.Name)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (2)
425private static readonly string[] s_allMetadataNames = new[] { MetadataName.RetryAfter.Name }; 441if (metadataName == MetadataName.RetryAfter.Name && _retryAfter.HasValue)
System\Threading\RateLimiting\RateLimitLease.cs (2)
37if (metadataName.Name == null) 43bool successful = TryGetMetadata(metadataName.Name, out object? rawMetadata);
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
438private static readonly string[] s_allMetadataNames = new[] { MetadataName.RetryAfter.Name }; 454if (metadataName == MetadataName.RetryAfter.Name && _retryAfter.HasValue)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
439private static readonly string[] s_allMetadataNames = new[] { MetadataName.RetryAfter.Name }; 455if (metadataName == MetadataName.RetryAfter.Name && _retryAfter.HasValue)