/// <summary> /// Loads the server child scope nodes. /// </summary> /// <param name="serverConfigurator">The server configurator.</param> /// <param name="serverScopeNode">The server scope node.</param> private void LoadServerChildScopeNodes(ScopeNode serverScopeNode) { // Companies CompaniesScopeNode companiesScopeNode = new CompaniesScopeNode(this.Configurator); serverScopeNode.Children.Add(companiesScopeNode); // License LicenseScopeNode licenseScopeNode = new LicenseScopeNode(this.Configurator); serverScopeNode.Children.Add(licenseScopeNode); // Updates UpgradesScopeNode upgradesScopeNode = new UpgradesScopeNode(this.Configurator); serverScopeNode.Children.Add(upgradesScopeNode); foreach (int version in GetUpgradeElements(this.Configurator)) { UpgradeScopeNode upgradeScopeNode = new UpgradeScopeNode(this.Configurator, version); upgradesScopeNode.Children.Add(upgradeScopeNode); } // Properties ServerPropertiesScopeNode serverPropertiesScopeNode = new ServerPropertiesScopeNode(this.Configurator); serverScopeNode.Children.Add(serverPropertiesScopeNode); }
/// <summary> /// Gets the update info. /// </summary> /// <returns></returns> protected IUpdateInfo[] GetUpdateInfo() { UpgradeScopeNode scopeNode = ((UpgradeScopeNode)this.ParentFormView.ScopeNode); return(scopeNode.Configurator.GetUpdateInfo(scopeNode.Version)); }