internal CheckingResultViewModel(List <CheckingInfo> InfoList) { isSystemGoodToGo = true; item = new List <CheckingItem>(); foreach (CheckingInfo info in InfoList) { if (info.isNecessary == true && info.success == false) { isSystemGoodToGo = false; } CheckingItem checkingItem = new CheckingItem(info.infoName, info.success, info.isNecessary); this.item.Add(checkingItem); } }
internal CheckingResultViewModel(List<CheckingInfo> InfoList) { isSystemGoodToGo = true; item = new List<CheckingItem>(); foreach (CheckingInfo info in InfoList) { if (info.isNecessary == true && info.success == false) { isSystemGoodToGo = false; } CheckingItem checkingItem = new CheckingItem(info.infoName, info.success, info.isNecessary); this.item.Add(checkingItem); } }