public string this[string path, RelativePathHandling relativePathHandling] { get { XmlNode settingsNode = CommonXml.GetNode(m_CombinedSettings.SelectSingleNode("settings"), path, EmptyNodeHandling.CreateNew); string value = settingsNode.InnerText; if (relativePathHandling == RelativePathHandling.ConvertToAbsolute) { return(ConvertPath(value)); } else { return(value); } } set { CommonXml.GetNode(m_CustomSettings.SelectSingleNode("settings"), path, EmptyNodeHandling.CreateNew).InnerText = value; CommonXml.GetNode(m_CombinedSettings.SelectSingleNode("settings"), path, EmptyNodeHandling.CreateNew).InnerText = value; Save(); } }
public XmlNode GetAsNode(string path) { return(CommonXml.GetNode(m_CombinedSettings.SelectSingleNode("settings"), path)); }
protected XmlNode GetNode(string cleanPath, EmptyNodeHandling emptyNode) { return(CommonXml.GetNode(m_ParentNode, cleanPath, emptyNode)); }