public void Insert(int index, string assemblyPath) { XmlHelper.AddAttribute( XmlHelper.InsertElement(configNode, "assembly", index), "path", assemblyPath); }
public void SetSettingsAttribute(string name, string value) { if (value == null) { RemoveSettingsAttribute(name); } else { if (SettingsNode == null) { XmlHelper.InsertElement(RootNode, "Settings", 0); } XmlHelper.SetAttribute(SettingsNode, name, value); } }