Exemplo n.º 1
0
        /// <summary>
        /// 获取系统参数
        /// </summary>
        public static void GetSystemParameters()
        {
            #region
            Config.Get(CustomConfig.ServiceURLConfigName, ref _defaultServiceURL);

            Config.Get(CustomConfig.LogDirectoryKeyName, ref _logDirName);

            Config.Get(CustomConfig.TextBoxMaxLineKeyName, ref _textBoxMaxLine);

            Config.Get(CustomConfig.EnableAutoStartServiceKeyName, ref _EnableAutoStartService);

            ServerInfor.GetParamsFromConfig();
            #endregion
        }