The ChannelAdam Disposing Library


Have you ever thought that the .NET disposable pattern was complicated to implement or understand? Inherit from one of these classes and it’s easy!

This is open source .NET Standard 1.3 library with a correct implementation of the dispose/finalize pattern that is easily used and extended.

Below are the main features of the library. See the linked code for details.

Please contact me if you have any questions.

Getting Started

NuGet Package Installation

To install the ChannelAdam.Disposing NuGet package run the following command in the Package Manager Console:

1PM> Install-Package ChannelAdam.Disposing


Simply inherit from Disposable or DisposableWithDestructor and override DisposeManagedResources() and/or DisposeUnmanagedResources().