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