.NET library that provides thread-safe collections that automatically remove their elements after a particular time has passed. Each instance of a decaying collection has a timespan specified which is used as a lifespan for its elements.

Install-Package Karadzhov.DecayingCollections -Version
dotnet add package Karadzhov.DecayingCollections --version
<PackageReference Include="Karadzhov.DecayingCollections" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Karadzhov.DecayingCollections --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes
     - Implemented DecayingDictionary;
     - Exposed Ring, Count setter and Cursor to inheritors of DecayingCollection;
     - Stricter concurrency handling;
     - Fixed a bug causing inconsistent Count when removing from current step;
     - Fixed a bug which significantly extended the lifespan of objects;
     - Parameter validation for lifespan and steps on the constructors;
     - Breaking change: ITimer, used by the abstract DecayingCollection should accept a period in milliseconds instead of seconds;
     - Implemented DecayingHashSet;
     - Implemented DecayingBag;


This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 386 8/14/2016 448 8/6/2016 308 8/5/2016