/// <summary> /// 注册Memcache缓存(在Global.asax的Application_Start方法中注册) /// 使用:MemcacheHelper.RegisterMemcache(); /// </summary> public static void RegisterMemcache() { if (_instance == null) { _instance = new MemcacheHelper(); } }