SimpleHelpers.MemoryCache 1.1.0

dotnet add package SimpleHelpers.MemoryCache --version 1.1.0
                    
NuGet\Install-Package SimpleHelpers.MemoryCache -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleHelpers.MemoryCache" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleHelpers.MemoryCache" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="SimpleHelpers.MemoryCache" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimpleHelpers.MemoryCache --version 1.1.0
                    
#r "nuget: SimpleHelpers.MemoryCache, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SimpleHelpers.MemoryCache&version=1.1.0
                    
Install SimpleHelpers.MemoryCache as a Cake Addin
#tool nuget:?package=SimpleHelpers.MemoryCache&version=1.1.0
                    
Install SimpleHelpers.MemoryCache as a Cake Tool

Simple lightweight object in-memory cache, with a background timer to remove expired objects.

Fast in-memory cache for data that are expensive to create and can be used in a thread-safe manner.
All stored items are kept in concurrent data structures (ConcurrentDictionary) to allow multi-thread usage of the MemoryCache static methods.

Note: this nuget package contains c# source code and depends on System.Collections.Concurrent introduced in .Net 4.0.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 77 3/20/2015
1.0.6 115 12/10/2014
1.0.5 149 6/8/2014
1.0.4 51 4/16/2014
1.0.3 50 10/9/2013
1.0.2 50 10/9/2013
1.0.1 45 4/15/2013
1.0.0 46 4/12/2013

1.1.0
* new method: Renew for sliding expiration
1.0.6
* new method: ClearByPrefix
1.0.5
* Improve null handling
1.0.4
* Nuget dependencies adjustment
1.0.3
* Allow adding null objects
* Better documentation