Beispiel #1
0
 /// <summary>
 /// Returns the default CacheManager instance. The same instance should be returned each time this method
 /// is called. The name of the instance to treat as the default CacheManager is defined in the configuration file.
 /// Guaranteed to return an intialized CacheManager if no exception thrown
 /// </summary>
 /// <returns>Default cache manager instance.</returns>
 /// <exception cref="ConfigurationException">Unable to create default CacheManager</exception>
 public static CacheManager GetCacheManager()
 {
     lock (lockObject)
     {
         return(factory.GetCacheManager());
     }
 }