28 instantiations of DefaultObjectPoolProvider
Microsoft.AspNetCore.Antiforgery.Test (2)
DefaultAntiforgeryTokenSerializerTest.cs (1)
16new DefaultObjectPoolProvider().Create(new AntiforgerySerializationContextPooledObjectPolicy());
DefaultClaimUidExtractorTest.cs (1)
13new DefaultObjectPoolProvider().Create(new AntiforgerySerializationContextPooledObjectPolicy());
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\BodyModelBinderTests.cs (2)
772: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions() 842: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions()
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
TestMvcOptions.cs (1)
40var objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
NewtonsoftJsonInputFormatterTest.cs (1)
22private readonly ObjectPoolProvider _objectPoolProvider = new DefaultObjectPoolProvider();
NewtonsoftJsonPatchInputFormatterTest.cs (1)
20private static readonly ObjectPoolProvider _objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.AspNetCore.OutputCaching.Tests (2)
TestUtils.cs (2)
98return new OutputCacheKeyProvider(new DefaultObjectPoolProvider(), Options.Create(options)); 211keyProvider = new OutputCacheKeyProvider(new DefaultObjectPoolProvider(), Options.Create(options));
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
45new DefaultObjectPoolProvider()
Microsoft.AspNetCore.ResponseCaching.Tests (2)
TestUtils.cs (2)
113return new ResponseCachingKeyProvider(new DefaultObjectPoolProvider(), Options.Create(options)); 211keyProvider = new ResponseCachingKeyProvider(new DefaultObjectPoolProvider(), Options.Create(options));
Microsoft.AspNetCore.Routing.Tests (13)
Template\TemplateBinderTests.cs (11)
114new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 263new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 711new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1140new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1238new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1267new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1297new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1327new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1357new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1391new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()), 1421new DefaultObjectPoolProvider().Create(new UriBuilderContextPooledObjectPolicy()),
Tree\TreeRouteBuilderTest.cs (1)
243var objectPoolProvider = new DefaultObjectPoolProvider();
Tree\TreeRouterTest.cs (1)
2071var objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.Extensions.ObjectPool (1)
ObjectPool.cs (1)
33var provider = new DefaultObjectPoolProvider();
Microsoft.Extensions.ObjectPool.Tests (2)
DefaultObjectPoolProviderTest.cs (2)
15var provider = new DefaultObjectPoolProvider(); 28var provider = new DefaultObjectPoolProvider();
12 references to DefaultObjectPoolProvider
Microsoft.AspNetCore.Antiforgery (1)
AntiforgeryServiceCollectionExtensions.cs (1)
37services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
TestMvcOptions.cs (1)
40var objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
DependencyInjection\NewtonsoftJsonMvcCoreBuilderExtensions.cs (1)
58services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheServiceCollectionExtensions.cs (1)
29services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingServicesExtensions.cs (1)
24services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
50services.TryAddTransient<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.AspNetCore.Routing.Tests (2)
Tree\TreeRouteBuilderTest.cs (1)
243var objectPoolProvider = new DefaultObjectPoolProvider();
Tree\TreeRouterTest.cs (1)
2071var objectPoolProvider = new DefaultObjectPoolProvider();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
WebHostBuilderNamedPipeExtensions.cs (1)
34services.TryAddSingleton<ObjectPoolProvider, DefaultObjectPoolProvider>();
Microsoft.Extensions.ObjectPool (1)
ObjectPool.cs (1)
33var provider = new DefaultObjectPoolProvider();
Microsoft.Extensions.ObjectPool.Tests (2)
DefaultObjectPoolProviderTest.cs (2)
15var provider = new DefaultObjectPoolProvider(); 28var provider = new DefaultObjectPoolProvider();