示例#1
0
        /// <summary>
        /// 保存配置实例
        /// </summary>
        /// <param name="baseconfiginfo"></param>
        /// <returns></returns>
        public static bool SaveConfig(BaseConfigInfo baseconfiginfo)
        {
            BaseConfigFileManager acfm = new BaseConfigFileManager();

            BaseConfigFileManager.ConfigInfo = baseconfiginfo;
            return(acfm.SaveConfig());
        }
示例#2
0
        public static bool SaveConfigTo(BaseConfigInfo bci, string configFilePath)
        {
            BaseConfigFileManager bcfm = new BaseConfigFileManager();

            return(bcfm.SaveConfig(configFilePath, bci));
        }
示例#3
0
        public static bool SaveConfigTo(BaseConfigInfo baseconfiginfo, string fileName)
        {
            BaseConfigFileManager acfm = new BaseConfigFileManager();

            return(acfm.SaveConfig(fileName, baseconfiginfo));
        }