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