private void HandleConfiguration(ConfigurationNode conf) { if (conf.Name.ToLower() == "all") //apply changes to all, this may not always be applied first, //so it *may* override changes to the same properties for configurations defines at the project level { foreach (ConfigurationNode confNode in this.m_Configurations.Values) { conf.CopyTo(confNode); //update the config templates defines at the project level with the overrides } } if (m_Configurations.ContainsKey(conf.Name)) { ConfigurationNode parentConf = (ConfigurationNode)m_Configurations[conf.Name]; conf.CopyTo(parentConf); //update the config templates defines at the project level with the overrides } else { m_Configurations[conf.Name] = conf; } }
private void HandleConfiguration(ConfigurationNode conf) { if(conf.Name.ToLower() == "all") //apply changes to all, this may not always be applied first, //so it *may* override changes to the same properties for configurations defines at the project level { foreach(ConfigurationNode confNode in this.m_Configurations.Values) { conf.CopyTo(confNode);//update the config templates defines at the project level with the overrides } } if(m_Configurations.ContainsKey(conf.Name)) { ConfigurationNode parentConf = (ConfigurationNode)m_Configurations[conf.Name]; conf.CopyTo(parentConf);//update the config templates defines at the project level with the overrides } else m_Configurations[conf.Name] = conf; }