2 implementations of ResetCalled
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (2)
TestResources\OtherTestClass.cs (1)
10int ITestClass.ResetCalled => throw new NotSupportedException();
TestResources\TestClass.cs (1)
11public int ResetCalled { get; private set; }
8 references to ResetCalled
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (8)
DependencyInjectionExtensionsTests.cs (8)
168Assert.Equal(1, pooled.ResetCalled); 249Assert.Equal(1, resolved1.ResetCalled); 297Assert.Equal(1, resolved1.ResetCalled); 300Assert.Equal(1, resolved2.ResetCalled); 303Assert.Equal(1, resolved3.ResetCalled); 306Assert.Equal(1, resolved4.ResetCalled); 355Assert.Equal(1, resolved1.ResetCalled); 358Assert.Equal(1, resolved3.ResetCalled);