private void GetInstall() { List <string> allsoft = core.GetSoftNames(); List <Install> modelList = core.GetInstalled(); foreach (Install inst in modelList) { InstallVM newComp = new InstallVM(inst, allsoft); installs.Add(newComp); } }