public bool ApplyChanges(ISupportsEditing editableObject, Carbon.Configuration.SupportedEditingActions actions) { XmlConfigurationCategoryCollection categories = editableObject as XmlConfigurationCategoryCollection; if (categories != null) { foreach (XmlConfigurationCategory category in categories) { XmlConfigurationCategory myCategory = this[category.ElementName]; if (myCategory != null) { try { myCategory.ApplyChanges((ISupportsEditing)category, actions); } catch (Exception ex) { Debug.WriteLine(ex); } } } } return(true); }