Beispiel #1
0
        public bool Insert(string key, object value, Expiration expiration)
        {
            CacheItem cacheItem = CreateCacheItem(value, expiration);

            if (!Loaded)
            {
                return(false);
            }
            else
            {
                cache.Insert(key, cacheItem);
                return(true);
            }
        }