Пример #1
0
        /// <summary>
        /// 初始化[注意初始化顺序]
        /// </summary>
        public static void Initialize()
        {
            InitBasicConfig();
            InitSqlDependency();
            InitContainer();

            if (ProductionHelper.IsProductionEnvironment())
            {
                InitWechatParas();
                InitBaiduParas();
            }

            SystemConfigObject.Notify((int)SystemStatus.Start);
        }
Пример #2
0
 /// <summary>
 /// 卸载
 /// </summary>
 public static void Uninitialize()
 {
     SystemConfigObject.Notify((int)SystemStatus.Stop);
 }