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