/// <summary> /// Gets or creates the ProjectInformation for a given project /// </summary> public ProjectInformation Get (Project project) { foreach (ProjectInformation p in projects) { if (project == p.Project || (null != project && project.Equals (p.Project))) { return p; } } ProjectInformation newinfo = new ProjectInformation (project); projects.Add (newinfo); return newinfo; }