예제 #1
0
 /// <summary>
 /// 写入站点配置文件
 /// </summary>
 public siteconfig saveConifg(siteconfig model, string configFilePath)
 {
     lock (lockHelper)
     {
         SerializationHelper.Save(model, configFilePath);
     }
     return model;
 }
예제 #2
0
 /// <summary>
 ///  保存配置文件
 /// </summary>
 public siteconfig saveConifg(siteconfig model)
 {
     return this._repository.saveConifg(model, Utils.GetXmlMapPath(SystemKeys.FILE_SITE_XML_CONFING));
 }
예제 #3
0
파일: UpLoad.cs 프로젝트: jxiaox/weixinpf
 public UpLoad()
 {
     siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig();
 }
예제 #4
0
 public admin_ajax()
 {
     siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig();
 }
예제 #5
0
 public ManagePage()
 {
     this.Load += new EventHandler(ManagePage_Load);
     siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig();
 }
예제 #6
0
 public Login()
 {
     siteConfig = new SiteConfig(new SiteConfigRepository()).loadConfig();
 }