/// <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); }
public SolutionModel(string fileName) : base(null, fileName) { Folders = new SolutionFolderModelCollection(); Projects = new ProjectsModelCollection(this); }
public SolutionFolderModel(SolutionModel solution) { Solution = solution; Folders = new SolutionFolderModelCollection(); Projects = new ProjectsModelCollection(solution); }