8 references to PoolFactory
Microsoft.Extensions.Telemetry (8)
Http\HttpRouteFormatter.cs (2)
54var pathStringBuilder = PoolFactory.SharedStringBuilderPool.Get(); 112PoolFactory.SharedStringBuilderPool.Return(pathStringBuilder);
Latency\Internal\LatencyConsoleExporter.cs (2)
45var sb = PoolFactory.SharedStringBuilderPool.Get(); 113PoolFactory.SharedStringBuilderPool.Return(sb);
Latency\Internal\ResetOnGetObjectPool.cs (1)
19_objectPool = PoolFactory.CreatePool(policy);
Logging\ExtendedLogger.cs (2)
151var sb = PoolFactory.SharedStringBuilderPool.Get(); 162PoolFactory.SharedStringBuilderPool.Return(sb);
Logging\JustInTimeRedactor.cs (1)
183private static readonly ObjectPool<JustInTimeRedactor> _pool = PoolFactory.CreateResettingPool<JustInTimeRedactor>();