Beispiel #1
0
 public static int GetCache()
 {
     return(BSCache.GetCache());
 }
Beispiel #2
0
        private static object _locker = new object();//锁对象

        #region 清除所有缓存

        /// <summary>
        /// 清除所有缓存
        /// </summary>
        public static void ClearAllCache()
        {
            BSCache.Clear();
        }