2 types derived from ObjectPoolProvider
Microsoft.Extensions.ObjectPool (2)
DefaultObjectPoolProvider.cs (1)
12public class DefaultObjectPoolProvider : ObjectPoolProvider
LeakTrackingObjectPoolProvider.cs (1)
15public class LeakTrackingObjectPoolProvider : ObjectPoolProvider
40 references to ObjectPoolProvider
Microsoft.AspNetCore.Antiforgery (3)
AntiforgeryServiceCollectionExtensions.cs (3)
37services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>(); 41var provider = serviceProvider.GetRequiredService<ObjectPoolProvider>();
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (1)
58services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (2)
25private readonly ObjectPoolProvider _objectPoolProvider; 31ObjectPoolProvider objectPoolProvider)
NewtonsoftJsonInputFormatter.cs (3)
24private readonly ObjectPoolProvider _objectPoolProvider; 40/// <param name="objectPoolProvider">The <see cref="ObjectPoolProvider"/>.</param> 47ObjectPoolProvider objectPoolProvider,
NewtonsoftJsonPatchInputFormatter.cs (2)
29/// <param name="objectPoolProvider">The <see cref="ObjectPoolProvider"/>.</param> 36ObjectPoolProvider objectPoolProvider,
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
NewtonsoftJsonInputFormatterTest.cs (2)
22private readonly ObjectPoolProvider _objectPoolProvider = new DefaultObjectPoolProvider(); 565public TestableJsonInputFormatter(JsonSerializerSettings settings, ObjectPoolProvider objectPoolProvider)
NewtonsoftJsonPatchInputFormatterTest.cs (1)
20private static readonly ObjectPoolProvider _objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.AspNetCore.OutputCaching (4)
OutputCacheKeyProvider.cs (1)
23internal OutputCacheKeyProvider(ObjectPoolProvider poolProvider, IOptions<OutputCacheOptions> options)
OutputCacheMiddleware.cs (2)
37/// <param name="poolProvider">The <see cref="ObjectPoolProvider"/> used for creating <see cref="ObjectPool"/> instances.</param> 43ObjectPoolProvider poolProvider
OutputCacheServiceCollectionExtensions.cs (1)
29services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.ResponseCaching (4)
ResponseCachingKeyProvider.cs (1)
22internal ResponseCachingKeyProvider(ObjectPoolProvider poolProvider, IOptions<ResponseCachingOptions> options)
ResponseCachingMiddleware.cs (2)
38/// <param name="poolProvider">The <see cref="ObjectPoolProvider"/> used for creating <see cref="ObjectPool"/> instances.</param> 43ObjectPoolProvider poolProvider)
ResponseCachingServicesExtensions.cs (1)
24services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.Routing (3)
DependencyInjection\RoutingServiceCollectionExtensions.cs (3)
50services.TryAddTransient<ObjectPoolProvider, DefaultObjectPoolProvider>(); 53var provider = s.GetRequiredService<ObjectPoolProvider>();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (4)
Internal\NamedPipeConnectionListener.cs (1)
38ObjectPoolProvider objectPoolProvider)
Internal\NamedPipeTransportFactory.cs (2)
18private readonly ObjectPoolProvider _objectPoolProvider; 24ObjectPoolProvider objectPoolProvider)
WebHostBuilderNamedPipeExtensions.cs (1)
34services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.Extensions.ObjectPool (11)
DefaultObjectPoolProvider.cs (1)
10/// The default <see cref="ObjectPoolProvider"/>.
LeakTrackingObjectPoolProvider.cs (4)
10/// An <see cref="ObjectPoolProvider"/> that produces instances of 17private readonly ObjectPoolProvider _inner; 22/// <param name="inner">The <see cref="ObjectPoolProvider"/> to wrap.</param> 23public LeakTrackingObjectPoolProvider(ObjectPoolProvider inner)
ObjectPool.cs (1)
30/// <inheritdoc cref="ObjectPoolProvider.Create{T}(IPooledObjectPolicy{T})" />
ObjectPoolProviderExtensions.cs (5)
9/// Extension methods for <see cref="ObjectPoolProvider"/>. 16/// <param name="provider">The <see cref="ObjectPoolProvider"/>.</param> 18public static ObjectPool<StringBuilder> CreateStringBuilderPool(this ObjectPoolProvider provider) 26/// <param name="provider">The <see cref="ObjectPoolProvider"/>.</param> 32this ObjectPoolProvider provider,