Exemplo n.º 1
0
        /// <summary>
        /// Returns the config for the configuration passed in.
        /// </summary>
        public MakeItSoConfig_Configuration getConfiguration(string configurationName)
        {
            if (configurationName == null)
            {
                throw new ArgumentNullException("configurationName");
            }

            MakeItSoConfig_Configuration config;

            if (!m_configurations.TryGetValue(configurationName, out config))
            {
                config = new MakeItSoConfig_Configuration(this, m_defaultConfig);
                m_configurations.Add(configurationName, config);
            }
            return(config);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MakeItSoConfig_Project(MakeItSoConfig solutionConfig)
 {
     m_solutionConfig = solutionConfig;
     m_defaultConfig  = new MakeItSoConfig_Configuration(this, null);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MakeItSoConfig_Project(MakeItSoConfig solutionConfig)
 {
     m_solutionConfig = solutionConfig;
     m_defaultConfig = new MakeItSoConfig_Configuration(this, null);
 }
Exemplo n.º 4
0
        /// <summary>
        /// Returns the config for the configuration passed in.
        /// </summary>
        public MakeItSoConfig_Configuration getConfiguration(string configurationName)
        {
            if (configurationName == null)
                throw new ArgumentNullException("configurationName");

            MakeItSoConfig_Configuration config;
            if (!m_configurations.TryGetValue(configurationName, out config))
            {
                config = new MakeItSoConfig_Configuration(this, m_defaultConfig);
                m_configurations.Add(configurationName, config);
            }
            return config;
        }
 /// <summary>
 /// Constructor
 /// </summary>
 public MakeItSoConfig_Configuration(MakeItSoConfig_Project projectConfig, MakeItSoConfig_Configuration parentConfig)
 {
     m_projectConfig = projectConfig;
     m_parentConfig = parentConfig;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MakeItSoConfig_Configuration(MakeItSoConfig_Project projectConfig, MakeItSoConfig_Configuration parentConfig)
 {
     m_projectConfig = projectConfig;
     m_parentConfig  = parentConfig;
 }