Esempio n. 1
0
 /// <summary>
 /// 清空缓存所有对象
 /// </summary>
 public static void Clear()
 {
     lock (_locker)
     {
         _icachestrategy.Clear();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 清空缓存所有对象
 /// </summary>
 public static void Clear()
 {
     lock (_Locker)
     {
         _CacheStrategy.Clear();
     }
 }
 /// <summary>
 /// 清除所有缓存
 /// </summary>
 public virtual void Clear()
 {
     Initialize();
     strategy.Clear();
 }