A library for managing shared resources in C# almost equivalent to shared_ptr
Despite having the luxury of garbage collector, items that derive from IDisposable needs to be almost treated like a native resource. The owner must take the responsibility of calling Dispose once all the consumers of the resource are no longer using the api. But for some shared reosources their is no implicit owner and hence it becomes difficult to clean up resources in a deterministic manner. This library provides ref counted handle objects managed by a owner class which has the responsibility of calling Dispose once the ref count of the underlying object becomes 0.
reddit page for the nuget here: https://www.reddit.com/r/csharp/comments/6ct0jv/sharedownership_in_c_equivalent_of_stdshared_ptr
Install-Package SharedOwner -Version 1.0.0-CI00001
dotnet add package SharedOwner --version 1.0.0-CI00001
<PackageReference Include="SharedOwner" Version="1.0.0-CI00001" />
paket add SharedOwner --version 1.0.0-CI00001
Summary of changes made in this release of the package.
This package has no dependencies.
This package is not used by any popular GitHub repositories.