SharedOwner NuGet Package

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.




Got any SharedOwner Question?





Info

Version: 1.0.0-CI00001
Author(s): bashrc-real
Last Update: Sunday, July 16, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/bashrc-real/SharedOwner/
NuGet Url: https://www.nuget.org/packages/SharedOwner


Install
Install-Package SharedOwner
dotnet add package SharedOwner
paket add SharedOwner
SharedOwner Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2894