<PackageReference Include="ReactiveUI.Disposables" Version="7.4.0" />

ReactiveUI.Primitives.Disposables.BooleanDisposable

public sealed class BooleanDisposable : IsDisposed, IDisposable
A disposable that exposes its disposed state as a boolean flag.
public bool IsDisposed { get; }

Gets a value indicating whether this instance is disposed.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.