Example #1
0
        /// <summary>
        /// 保存配置类实例
        /// </summary>
        /// <returns></returns>
        public static bool SaveConfig(ScriptEventConfigInfo scripteventconfiginfo)
        {
            ScriptEventConfigFileManager scfm = new ScriptEventConfigFileManager();

            ScriptEventConfigFileManager.ConfigInfo = scripteventconfiginfo;
            return(scfm.SaveConfig());
        }
 /// <summary>
 /// 保存配置类实例
 /// </summary>
 /// <returns></returns>
 public static bool SaveConfig(ScriptEventConfigInfo scripteventconfiginfo)
 {
     ScriptEventConfigFileManager scfm = new ScriptEventConfigFileManager();
     ScriptEventConfigFileManager.ConfigInfo = scripteventconfiginfo;
     return scfm.SaveConfig();
 }