/// <summary> /// Creates an instance of the child node class and adds it as a child of the parent node. /// </summary> /// <param name="node"> /// The parent node to add the newly created <see cref="ChildNode"/>. /// </param> protected override void ExecuteCore(ConfigurationNode node) { try { UIService.BeginUpdate(); childNode = CreateChild(); node.AddNode(childNode); UIService.SetUIDirty(node.Hierarchy); UIService.ActivateNode(childNode); } finally { UIService.EndUpdate(); } }
/// <summary> /// <para>Creates an instance of the child node class and adds it as a child of the parent node.</para> /// </summary> /// <param name="node"> /// <para>The parent node to add the newly created <see cref="ChildNode"/>.</para> /// </param> protected override void ExecuteCore(ConfigurationNode node) { try { UIService.BeginUpdate(); childNode = CreateChild(); node.Nodes.AddWithDefaultChildren(childNode); UIService.SetUIDirty(node.Hierarchy); UIService.ActivateNode(childNode); AddXmlIncludeTypes(node); } finally { UIService.EndUpdate(); } }