コード例 #1
0
        FactorWeightage GetFactorWeightage(int time = 10, int money = 10, int other = 10, int operational = 10, int burden = 10, int costOfPF = 10, int pshycological = 10)
        {
            FactorWeightage obj = new FactorWeightage()
            {
                Time          = time,
                Money         = money,
                Other         = other,
                Operational   = operational,
                Burden        = burden,
                CostOfPF      = costOfPF,
                Pshycological = pshycological
            };

            return(obj);
        }
コード例 #2
0
        QuestionOption GetQuestionOptions(string text, int value, bool IsSelected, int nextQuestionId, FactorWeightage factorWeightage)
        {
            QuestionOption obj = new QuestionOption()
            {
                Text            = text,
                Value           = value,
                IsSelected      = IsSelected,
                NextQuestionId  = nextQuestionId,
                FactorWeightage = factorWeightage
            };

            return(obj);
        }