protected override void OnExecuted(EventArgs e) { base.OnExecuted(e); WebServiceSettingsNode node = ChildNode as WebServiceSettingsNode; WebServiceURLCollectionNode webServiceURLCollectionNode = new WebServiceURLCollectionNode(); node.AddNode(webServiceURLCollectionNode); }
public WebServiceSettingsNode Build() { WebServiceSettingsNode rootNode = new WebServiceSettingsNode(); WebServiceURLCollectionNode node = new WebServiceURLCollectionNode(); WebServiceURLNode webServiceURLNode; foreach (WebServiceURL data in webServiceSettings.WebServiceURLs) { webServiceURLNode = new WebServiceURLNode(data); node.AddNode(webServiceURLNode); if (webServiceURLNode.Name == webServiceSettings.DefaultWebServiceURL) { defaultNode = webServiceURLNode; } } rootNode.AddNode(node); rootNode.DefaultWebServiceURLSetting = defaultNode; return(rootNode); }