// 加载 xml 文件到内存,构建要编译的模块文件 public void LoadDetailList() { // 清空列表 Dls.Clear(); #region 读取xml文件,重建 alModule XmlDocument xmldoc = new XmlDocument(); xmldoc.Load(detaillist); XmlNode xn = xmldoc.SelectSingleNode("detail"); XmlNodeList xnl = xn.ChildNodes; foreach (XmlNode x in xnl) { // 构建 Excel 列表文件 Detail dl = new Detail(x.Name, x.Attributes["file"].InnerText, x.Attributes["sql"].InnerText, x.Attributes["pas"].InnerText); Dls.Add(dl); } #endregion }
public void ResetConf() { detail = null; }
public override Detail GetDetail(CommitCom c) { Detail d = new Detail(c); return d; }
public BaseConf() { log = OperLog.instance; Users = new List<DBUser>(); CommitPublic = new List<String>(); detail = null; }