1 write to Object
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (1)
TestResources\Pooled.cs (1)
18Object = pool.Get();
4 references to Object
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (4)
DependencyInjectionExtensionsTests.cs (3)
227.AddScoped<ITestClass>(provider => provider.GetRequiredService<Pooled<TestClass>>().Object) 262.AddTransient<ITestClass>(provider => provider.GetRequiredService<Pooled<TestClass>>().Object) 319.AddScoped<ITestClass>(provider => provider.GetRequiredService<Pooled<TestClass>>().Object)
TestResources\Pooled.cs (1)
23_pool.Return(Object);