NuGet Package Cached calls for method delegates

This class helps you make cached method calls, and ensures the delegate is called only once in multithreaded environments.

Useful for loading resources from external urls, making web service calls, running expensive calculations, etc.

Sample usage:
var result = cm.CachedCall("my_key", 30, delegate() {
return ExpensiveAndTimeConsumingMethodWithParams(...);
});

or

var result = cm.CachedCall("my_key", 30, ExpensiveAndTimeConsumingMethod);.

Info

Version: 1.0.2
Author(s): Kadir Yazgan
Last Update: Thursday, November 6, 2014
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/kadiryazgan/KY.CacheUtil
NuGet Url: https://www.nuget.org/packages/KY.CacheUtil


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



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2357