Sage.CacheWrapper.Get C# (CSharp) Method

Get() public method

Retrieves the specified item from the cache.
public Get ( string key ) : object
key string The identifier for the cache item to retrieve.
return object
        public object Get(string key)
        {
            if (cache != null)
                return cache.Get(key);

            if (dictionary.ContainsKey(key))
                return dictionary[key];

            return null;
        }