예제 #1
0
        /// <summary>
        /// 清理全部会话
        /// </summary>
        public void Clear()
        {
            var list = ToList();

            foreach (var item in list)
            {
                item.Clear();
            }
            _session.Clear();
        }
예제 #2
0
 public static void Clear()
 {
     _session.Clear();
 }