11 references to MetadataName
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (2)
369
private static readonly string[] s_allMetadataNames = new[] {
MetadataName
.ReasonPhrase.Name };
393
if (_reason is not null && metadataName ==
MetadataName
.ReasonPhrase.Name)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (2)
425
private static readonly string[] s_allMetadataNames = new[] {
MetadataName
.RetryAfter.Name };
441
if (metadataName ==
MetadataName
.RetryAfter.Name && _retryAfter.HasValue)
System\Threading\RateLimiting\MetadataName.T.cs (1)
19
/// <param name="name">The name of the <see cref="
MetadataName
"/> object.</param>
System\Threading\RateLimiting\RateLimitLease.cs (2)
23
/// <param name="metadataName">The name of the metadata. Some common ones can be found in <see cref="
MetadataName
"/>.</param>
32
/// <param name="metadataName">The name of the strongly-typed metadata. Some common ones can be found in <see cref="
MetadataName
"/>.</param>
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
438
private static readonly string[] s_allMetadataNames = new[] {
MetadataName
.RetryAfter.Name };
454
if (metadataName ==
MetadataName
.RetryAfter.Name && _retryAfter.HasValue)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
439
private static readonly string[] s_allMetadataNames = new[] {
MetadataName
.RetryAfter.Name };
455
if (metadataName ==
MetadataName
.RetryAfter.Name && _retryAfter.HasValue)