Wrap an object in a disposable decorator to attempt to dispose the object later. This is useful when retrieving an instance of an object from a factory or container while only having an interface reference. If the interface does not implement IDisposable or IAsyncDisposable, but the concrete class...
More information
A C# source generator that automatically implements IDisposable and IAsyncDisposable.
Check the changelog at https://github.com/Archomeda/DisposeGenerator/blob/master/CHANGELOG.md
A smart and simple way to work with limited-lifetime events in .NET
This package introduce the concept of Disposable events - when you subscribe to such event you will obtain IDisposable token, and when you call Dispose on it, the event subscription will be automatically removed. This will work...
More information