SharedOwner 1.0.0-CI00001
dotnet add package SharedOwner --version 1.0.0-CI00001
NuGet\Install-Package SharedOwner -Version 1.0.0-CI00001
<PackageReference Include="SharedOwner" Version="1.0.0-CI00001" />
paket add SharedOwner --version 1.0.0-CI00001
#r "nuget: SharedOwner, 1.0.0-CI00001"
// Install SharedOwner as a Cake Addin #addin nuget:?package=SharedOwner&version=1.0.0-CI00001&prerelease // Install SharedOwner as a Cake Tool #tool nuget:?package=SharedOwner&version=1.0.0-CI00001&prerelease
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
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-CI00001 | 735 | 7/16/2017 |
Summary of changes made in this release of the package.