49 types derived from PooledObjectPolicy
Microsoft.AspNetCore.Diagnostics.Middleware (1)
src\Shared\BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
20internal sealed class BufferWriterPooledObjectPolicy<T> : PooledObjectPolicy<BufferWriter<T>>
Microsoft.Extensions.AsyncState (5)
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Compliance.Abstractions (5)
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Diagnostics.HealthChecks.Common (5)
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
src\Shared\BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
20internal sealed class BufferWriterPooledObjectPolicy<T> : PooledObjectPolicy<BufferWriter<T>>
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
20internal sealed class BufferWriterPooledObjectPolicy<T> : PooledObjectPolicy<BufferWriter<T>>
Microsoft.Extensions.Http.Resilience (5)
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.ML (1)
PredictionEnginePoolPolicy.cs (1)
15: PooledObjectPolicy<PredictionEngine<TData, TPrediction>>
Microsoft.Extensions.ObjectPool (2)
DefaultPooledObjectPolicy.cs (1)
10public class DefaultPooledObjectPolicy<T> : PooledObjectPolicy<T> where T : class, new()
StringBuilderPooledObjectPolicy.cs (1)
11public class StringBuilderPooledObjectPolicy : PooledObjectPolicy<StringBuilder>
Microsoft.Extensions.Telemetry (6)
Latency\Internal\LatencyContextPool.cs (1)
30internal sealed class LatencyContextPolicy : PooledObjectPolicy<LatencyContext>
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Telemetry.Abstractions (5)
src\Shared\Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
src\Shared\Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
src\Shared\Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
src\Shared\Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
src\Shared\Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
Microsoft.Extensions.Telemetry.Tests (1)
Latency\Internal\LatencyContextPoolTests.cs (1)
70private class NoResetPolicy : PooledObjectPolicy<Resettable>
Shared (6)
BufferWriterPool\BufferWriterPooledObjectPolicy.cs (1)
20internal sealed class BufferWriterPooledObjectPolicy<T> : PooledObjectPolicy<BufferWriter<T>>
Pools\NoopPooledObjectPolicy.cs (1)
13internal sealed class NoopPooledObjectPolicy<T> : PooledObjectPolicy<T>
Pools\PooledCancellationTokenSourcePolicy.cs (1)
14internal sealed class PooledCancellationTokenSourcePolicy : PooledObjectPolicy<CancellationTokenSource>
Pools\PooledDictionaryPolicy.cs (1)
14internal sealed class PooledDictionaryPolicy<TKey, TValue> : PooledObjectPolicy<Dictionary<TKey, TValue>>
Pools\PooledListPolicy.cs (1)
13internal sealed class PooledListPolicy<T> : PooledObjectPolicy<List<T>>
Pools\PooledSetPolicy.cs (1)
14internal sealed class PooledSetPolicy<T> : PooledObjectPolicy<HashSet<T>>
3 references to PooledObjectPolicy
Microsoft.Extensions.ML (1)
PredictionEnginePoolPolicy.cs (1)
11/// <see cref="PooledObjectPolicy{T}"/> for <see cref="PredictionEngine{TData, TPrediction}"/>
Microsoft.Extensions.ObjectPool (1)
DefaultPooledObjectPolicy.cs (1)
7/// Default implementation for <see cref="PooledObjectPolicy{T}"/>.
Microsoft.Extensions.Telemetry (1)
Latency\Internal\ResetOnGetObjectPool.cs (1)
17public ResetOnGetObjectPool(PooledObjectPolicy<T> policy)