コード例 #1
0
        /// <summary>
        ///		Clona una colección de carpetas
        /// </summary>
        internal SolutionFolderModelCollection Clone()
        {
            SolutionFolderModelCollection folders = new SolutionFolderModelCollection();

            // Clona las carpetas
            foreach (SolutionFolderModel folder in this)
            {
                folders.Add(folder.Clone());
            }
            // Devuelve la colección clonada
            return(folders);
        }
コード例 #2
0
 public SolutionModel(string fileName) : base(null, fileName)
 {
     Folders  = new SolutionFolderModelCollection();
     Projects = new ProjectsModelCollection(this);
 }
コード例 #3
0
 public SolutionFolderModel(SolutionModel solution)
 {
     Solution = solution;
     Folders  = new SolutionFolderModelCollection();
     Projects = new ProjectsModelCollection(solution);
 }