Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IResettable Interface

Definition

Namespace:
Microsoft.Extensions.ObjectPool
Assembly:
Microsoft.Extensions.ObjectPool.dll
Package:
Microsoft.Extensions.ObjectPool v11.0.0-preview.5.26302.115
Source:
IResettable.cs
Source:
IResettable.cs
Source:
IResettable.cs
Source:
IResettable.cs
Source:
IResettable.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines a method to reset an object to its initial state.

public interface class IResettable
public interface IResettable
type IResettable = interface
Public Interface IResettable

Methods

Name Description
TryReset()

Reset the object to a neutral state, semantically similar to when the object was first constructed.

Applies to


Feedback

Was this page helpful?