internal void RemoveChildNode(string key) { if (AdditionalChildNodes.ContainsKey(key)) { AdditionalChildNodes.Remove(key); } }
internal void SetChildNode(string key, string value) { if (!AdditionalChildNodes.ContainsKey(key)) { AdditionalChildNodes.Add(key, value); } else { AdditionalChildNodes[key] = value; } }
internal void SetChildXmlNode(string key, string value) { string keyToUse = $"Xml:{key}"; if (!AdditionalChildNodes.ContainsKey(keyToUse)) { AdditionalChildNodes.Add(keyToUse, value); } else { AdditionalChildNodes[keyToUse] = value; } }