예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }