Nito.Disposables.Internals.ReferenceCountedDisposable<T>
public sealed class ReferenceCountedDisposable<T> : SingleDisposable<IReferenceCounter>, IReferenceCountedDisposable<T>, IDisposable where T : IDisposable
An instance that represents a reference count.
Initializes a reference counted disposable that refers to the specified reference count. The specified reference count must have already been incremented for this instance.