6 references to Pooled
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (6)
DependencyInjectionExtensionsTests.cs (6)
226
.AddScoped<
Pooled
<TestClass>>()
227
.AddScoped<ITestClass>(provider => provider.GetRequiredService<
Pooled
<TestClass>>().Object)
261
.AddTransient<
Pooled
<TestClass>>()
262
.AddTransient<ITestClass>(provider => provider.GetRequiredService<
Pooled
<TestClass>>().Object)
318
.AddScoped<
Pooled
<TestClass>>()
319
.AddScoped<ITestClass>(provider => provider.GetRequiredService<
Pooled
<TestClass>>().Object)