/// <summary> /// <para>Removes the node from the <see cref="IUIHierarchy"/>.</para> /// </summary> /// <param name="node"> /// <para>The node to execute the command upon.</para> /// </param> protected override void ExecuteCore(ConfigurationNode node) { try { UIService.BeginUpdate(); UIService.SetUIDirty(node.Hierarchy); node.Remove(); using(RemoveXmlIncludeTypesCommand cmd = new RemoveXmlIncludeTypesCommand(ServiceProvider)) { cmd.Execute(node); } } finally { UIService.EndUpdate(); } }
/// <summary> /// <para>Removes the node from the <see cref="IUIHierarchy"/>.</para> /// </summary> /// <param name="node"> /// <para>The node to execute the command upon.</para> /// </param> protected override void ExecuteCore(ConfigurationNode node) { try { UIService.BeginUpdate(); UIService.SetUIDirty(node.Hierarchy); node.Remove(); using (RemoveXmlIncludeTypesCommand cmd = new RemoveXmlIncludeTypesCommand(ServiceProvider)) { cmd.Execute(node); } } finally { UIService.EndUpdate(); } }