IResettable Interface

Definition

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

C#
public interface IResettable

Methods

TryReset()

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

Applies to

Produit Versions
.NET 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)