Example #1
0
        //private MultilingualString[] choiceRubrics;

        public virtual void CreateQuestionChoices(CommonChoiceList choiceList)
        {
            this.Choices.Clear();
            foreach (CommonChoice c in choiceList.Choices)
            {
                this.Choices.Add(new RubricCommonChoice(c, null));
            }
        }
Example #2
0
        public CommonChoiceQuestion(CommonChoiceList choiceList, MultilingualString[] choiceRubrics)
        {
            int i = 0;

            IList <RubricCommonChoice> choices = new List <RubricCommonChoice>();

            foreach (CommonChoice c in choiceList.Choices)
            {
                choices.Add(new RubricCommonChoice(c, choiceRubrics[i++]));
            }
            base.choices = choices;
        }
Example #3
0
 public LikertItem(MultilingualString title, CommonChoiceList choiceList)
 {
     base.Title = title;
     CreateQuestionChoices(choiceList);
 }