Example #1
0
 public static bool Add(string key, DashCacheItem value)
 {
     return(_manager.Add(key, value));
 }
Example #2
0
 public bool Add(string key, DashCacheItem value)
 {
     return(_cache.Add(key, value));
 }
Example #3
0
 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);
        }