private XmlConfig loadXmlConfig(string file, XmlConfigMaker c, bool add = true) { string fullfile = Path.Combine(m_path, file); XmlConfig xml = c.loadFromFile(fullfile); if (xml != null && add) { m_allRes.Add(file, xml); } return(xml); }
private void loadXmlConfig(string file) { XmlConfigMaker c = new XmlConfigMaker(); string fullfile = Path.Combine(m_path, file); XmlConfig xml = c.loadFromFile(fullfile); if (xml != null) { m_allRes.Add(file, xml); } }
public XmlConfig loadXmlConfig(string file, bool save = true) { XmlConfigMaker c = new XmlConfigMaker(); string fullfile = Path.Combine(m_path, file); XmlConfig xml = c.loadFromFile(fullfile); if (xml != null && save) { m_allRes.Add(file, xml); } return(xml); }