Пример #1
0
        public Project Merged(Project other)
        {
            var project = new Project
            {
                Filename = Filename,
            };

            project.ItemGroups.AddRange(ItemGroups.Concat(other.ItemGroups));
            project.Properties.AddRange(Properties.Concat(other.Properties));
            project.Targets.AddRange(Targets.Concat(other.Targets));

            return(project);
        }