Sign in Sign up
nuget

TryDisposable

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 does, this will allow you to dispose the instance without the need to check for the interface and cast it.

Activity

Latest release
4mo ago
Total releases
12
Cadence
~8 months
Last 12 months
2

Reach

Stars

Details

License
unknown
First release
May 28, 2019
Releases
Version Released
10.1.0 minor
10.0.0 major
9.0.0 major
8.0.1 patch
8.0.0 major
1.5.1 minor
1.4.0 minor
1.3.1 patch
1.3.0 minor
1.2.0 minor
1.1.0 minor
1.0.0 initial