9 references to MakePool
Microsoft.Extensions.Compliance.Abstractions (9)
src\Shared\Pools\PoolFactory.cs (9)
44
return
MakePool
(NoopPooledObjectPolicy<T>.Instance, maxCapacity);
60
return
MakePool
(policy, maxCapacity);
77
return
MakePool
(new DefaultPooledObjectPolicy<T>(), maxCapacity);
93
return
MakePool
(_defaultStringBuilderPolicy, maxCapacity);
96
return
MakePool
(
118
return
MakePool
(PooledListPolicy<T>.Instance, maxCapacity);
138
return
MakePool
(new PooledDictionaryPolicy<TKey, TValue>(comparer), maxCapacity);
157
return
MakePool
(new PooledSetPolicy<T>(comparer), maxCapacity);
179
return
MakePool
(PooledCancellationTokenSourcePolicy.Instance, maxCapacity);