public WebSetInfo SaveConfig(WebSetInfo wsi, string configFilePath) { lock (lockHelper) { SerializationHelper.Save(wsi, configFilePath); } return wsi; }
public HttpFileUpload() { string configFilePath = HttpContext.Current.Server.MapPath(@"Config\WebSet.config"); this.wsi = new WebSetManager().LoadConfig(configFilePath); }