public CustomChoiceQuestion(IQuestionParent parent, CustomChoiceQuestion original)
            : base(parent, original)
        {
            IList <CustomChoice> choices = new List <CustomChoice>();

            foreach (CustomChoice c in original.Choices)
            {
                choices.Add(c.Clone(this));
            }
            base.choices = choices;
        }
示例#2
0
 public virtual CustomChoice Clone(CustomChoiceQuestion parent)
 {
     return(new CustomChoice(parent, this));
 }
示例#3
0
 public CustomChoice(CustomChoiceQuestion parent, CustomChoice original)
     : base(parent, original)
 {
     this.Title      = original.Title;
     this.TitleStyle = original.TitleStyle.Clone();
 }