8 overrides of TryGetMetadata
Microsoft.AspNetCore.RateLimiting (1)
DefaultCombinedLease.cs (1)
42
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestRateLimitLease.cs (1)
22
public override bool
TryGetMetadata
(string metadataName, out object metadata)
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (1)
207
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
389
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
438
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
System\Threading\RateLimiting\NoopLimiter.cs (1)
48
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
451
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
452
public override bool
TryGetMetadata
(string metadataName, out object? metadata)
5 references to TryGetMetadata
Microsoft.AspNetCore.RateLimiting (2)
DefaultCombinedLease.cs (2)
47
if (_endpointLease.
TryGetMetadata
(metadataName, out metadata))
51
if (_globalLease.
TryGetMetadata
(metadataName, out metadata))
System.Threading.RateLimiting (3)
System\Threading\RateLimiting\ChainedPartitionedRateLimiter.cs (1)
216
if (lease.
TryGetMetadata
(metadataName, out metadata))
System\Threading\RateLimiting\RateLimitLease.cs (2)
43
bool successful =
TryGetMetadata
(metadataName.Name, out object? rawMetadata);
67
if (
TryGetMetadata
(name, out object? metadata))