/// <summary> /// Obtiene recursivamente los proyectos de la solución /// </summary> internal ProjectsModelCollection GetAllProjects(SolutionModel solution) { ProjectsModelCollection projects = new ProjectsModelCollection(solution); // Añade los proyectos de esta carpeta foreach (SolutionFolderModel folder in this) { projects.AddRange(folder.GetAllProjects()); } // Devuelve los projectos return(projects); }
public ProjectModel(SolutionModel solution) { // Inicializa los objetos Solution = solution; File = new FileModel(this); // Inicializa los valores predeterminados AddWebTitle = true; WebType = WebDefinitionType.Web; ItemsPerCategory = 5; ItemsPerSiteMap = 50; MaxWidthImage = 400; ThumbsWidth = 200; //EBookPages = new eBooks.eBookPagesCollection(); }
public SolutionFolderModel(SolutionModel solution) { Solution = solution; Projects = new ProjectsModelCollection(solution); }
public ProjectsModelCollection(SolutionModel solution) { Solution = solution; }