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)
Dependencies
Tags
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);.