/// <summary>Gets a cache instance using full name of given class</summary> /// <remarks>For better performance, store the result in client class</remarks> public static ICache GetCache(Type type) { return(CacheManagerInternals.GetCache(type)); }
/// <summary>Gets a cache by name - return a specialized cache implementation type</summary> /// <remarks>For better performance, store the result in client class</remarks> public static TCache GetCache <TCache>(string name) where TCache : ICache { return(CacheManagerInternals.GetCache <TCache>(name)); }
/// <summary>Gets a cache instance using full name of given class</summary> /// <remarks>For better performance, store the result in client class</remarks> public static ICache GetCache <TClass>() { return(CacheManagerInternals.GetCache <TClass>()); }
/// <summary>Gets a cache by name</summary> /// <remarks>For better performance, store the result in client class</remarks> public static ICache GetCache(string name) { return(CacheManagerInternals.GetCache(name)); }