//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)); } }
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; }
public LikertItem(MultilingualString title, CommonChoiceList choiceList) { base.Title = title; CreateQuestionChoices(choiceList); }