1 instantiation of LatencyContext
Microsoft.Extensions.Telemetry (1)
Latency\Internal\LatencyContextPool.cs (1)
48return new LatencyContext(_latencyContextPool);
7 references to LatencyContext
Microsoft.Extensions.Telemetry (7)
Latency\Internal\LatencyContext.cs (1)
17private readonly ObjectPool<LatencyContext> _poolToReturnTo;
Latency\Internal\LatencyContextPool.cs (5)
13internal ObjectPool<LatencyContext> Pool { get; set; } 24Pool = new ResetOnGetObjectPool<LatencyContext>(lcp); 30internal sealed class LatencyContextPolicy : PooledObjectPolicy<LatencyContext> 46public override LatencyContext Create() 56public override bool Return(LatencyContext obj) => true;
Latency\Internal\LatencyContextRegistrySet.cs (1)
12/// Class that holds registry of names used with <see cref="LatencyContext"/> APIs.