namespace Quiz.SiteBase.Cache { /// /// 缓存管理 /// public static class CacheManage { internal static bool CacheInitCompleted { get; private set; } public static CacheTopic Topic { get; private set; } public static CacheUser User { get; set; } public static CacheSchool School { get; set; } public static void Initialize() { User=new CacheUser(); Topic = new CacheTopic(); School=new CacheSchool(); CacheInitCompleted = true; } } }