public static bool Add(string key, DashCacheItem value) { return(_manager.Add(key, value)); }
public bool Add(string key, DashCacheItem value) { return(_cache.Add(key, value)); }
public static void SetCurrentDashCacheItem(DashCacheItem currentDashCacheItem) { HttpContext.Current.Items["DashCacheItem"] = currentDashCacheItem; }
public bool Add(string key, DashCacheItem value) { bool isAdded = _cache.TryAdd(key, value); return(isAdded); }