14 implementations of IResettable
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\LogRecord.cs (1)
16internal sealed class LogRecord : IResettable
Microsoft.Extensions.Http.Resilience (3)
Internal\RequestMessageSnapshot.cs (1)
13internal sealed class RequestMessageSnapshot : IResettable, IDisposable
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
13internal sealed class OrderedGroupsRoutingStrategy : RequestRoutingStrategy, IResettable
Routing\Internal\RequestRoutingStrategy.cs (1)
15internal abstract class RequestRoutingStrategy : IResettable, IDisposable
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (1)
TestResources\TestClass.cs (1)
9public sealed class TestClass : IResettable, IDisposable, ITestClass
Microsoft.Extensions.ObjectPool.Tests (1)
DefaultObjectPoolTest.cs (1)
89private sealed class Resettable : IResettable
Microsoft.Extensions.Telemetry (5)
Latency\Internal\CheckpointTracker.cs (1)
13internal sealed class CheckpointTracker : IResettable
Latency\Internal\LatencyContext.cs (1)
11internal sealed class LatencyContext : ILatencyContext, IResettable
Latency\Internal\MeasureTracker.cs (1)
10internal sealed class MeasureTracker : IResettable
Latency\Internal\TagCollection.cs (1)
12internal sealed class TagCollection : IResettable
Logging\JustInTimeRedactor.cs (1)
17internal sealed class JustInTimeRedactor : IResettable
Microsoft.Extensions.Telemetry.Tests (1)
Latency\Internal\LatencyContextPoolTests.cs (1)
80private class Resettable : IResettable
Shared.Tests (2)
Pools\PoolTests.cs (1)
17private sealed class Foo : IResettable
Pools\TestResources\TestClass.cs (1)
8public class TestClass : IResettable, ITestClass
15 references to IResettable
Microsoft.Extensions.AsyncState (1)
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Compliance.Abstractions (1)
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Http.Resilience (2)
Internal\RequestMessageSnapshot.cs (1)
59bool IResettable.TryReset()
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Http.Resilience.Tests (1)
Routing\RoutingStrategyTest.cs (1)
106_ = ((IResettable)strategy).TryReset();
Microsoft.Extensions.ObjectPool (1)
DefaultPooledObjectPolicy.cs (1)
21if (obj is IResettable resettable)
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
DependencyInjectionPooledObjectPolicy.cs (2)
22_isResettable = typeof(IResettable).IsAssignableFrom(typeof(TImplementation)); 31return ((IResettable)obj).TryReset();
Microsoft.Extensions.Telemetry (3)
Latency\Internal\ResetOnGetObjectPool.cs (1)
10where T : class, IResettable
Logging\JustInTimeRedactor.cs (1)
71bool IResettable.TryReset()
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Microsoft.Extensions.Telemetry.Abstractions (1)
src\Shared\Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()
Shared (1)
Pools\PoolFactory.cs (1)
73where T : class, IResettable, new()