예제 #1
0
        private BuildInstructions GetOrCreateBuildConfigurationProperties(BuildConfiguration config)
        {
            var props = m_BuildInstructions.FirstOrDefault(m => m.BuildConfiguration == config);

            if (props != null)
            {
                return(props);
            }
            props = new BuildInstructions()
            {
                BuildConfiguration = config, Build = true, Run = true
            };
            m_BuildInstructions.Add(props);
            return(props);
        }
 internal BuildTreeViewItem(int depth, BuildInstructions buildInstructions) : base(buildInstructions.BuildConfiguration.GetInstanceID(), depth)
 {
     m_BuildInstructions = buildInstructions;
 }