public static void RemoveCachedData(ILazyCacheKey cacheKey) { DefaultLazyCache.RemoveFromCache(cacheKey); }
public static string GetCachedData(ILazyCacheParams cacheParams, Func <string> fnValueFactory) { var result = DefaultLazyCache.GetOrAddFromCache(cacheParams, fnValueFactory, cacheParams); return(result); }