Ejemplo n.º 1
0
 /// <summary>
 /// Gets from cache object.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <returns></returns>
 private static object GetFromCache(string key)
 {
     return(GenericCacheManager.GetInstance().Cache[key]);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Reloads the cache provider and its settings.
 /// </summary>
 public void ReloadCacheProvider()
 {
     GenericCacheManager.GetInstance().ReloadCacheProvider();
 }