Nito.Disposables
Namespace with 9 public types
Classes
AnonymousDisposable
Equivalent to .
CollectionDisposable
Disposes a collection of disposables.
Disposable
A disposable that executes a delegate when disposed.
NoopDisposable
A singleton disposable that does nothing when disposed.
Static Classes
ReferenceCountedDisposable
Creation methods for reference counted disposables.
Abstract Classes
SingleDisposable`1
A base class for disposables that need exactly-once semantics in a thread-safe way. All disposals of this instance block until the disposal is complete.
SingleNonblockingDisposable`1
A base class for disposables that need exactly-once semantics in a thread-safe way.
Interfaces
IReferenceCountedDisposable`1
An instance that represents a reference count. All members are threadsafe.
IWeakReferenceCountedDisposable`1
An instance that represents an uncounted weak reference. All members are threadsafe.