Ejemplo n.º 1
0
 /// <summary>Gets a scoped cache by name</summary>
 /// <remarks>For better performance, store the result in client class</remarks>
 public static IScopedCache GetScopedCache(string name)
 {
     return(CacheManagerInternals.GetScopedCache(name));
 }
Ejemplo n.º 2
0
 /// <summary>Gets a scoped cache instance using full name of given class</summary>
 /// <remarks>For better performance, store the result in client class</remarks>
 public static IScopedCache GetScopedCache <TClass>()
 {
     return(CacheManagerInternals.GetScopedCache <TClass>());
 }
Ejemplo n.º 3
0
 /// <summary>Gets a scoped cache instance using full name of given class</summary>
 /// <remarks>For better performance, store the result in client class</remarks>
 public static IScopedCache GetScopedCache(Type type)
 {
     return(CacheManagerInternals.GetScopedCache(type));
 }