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;
        }
Beispiel #2
0
 public virtual CustomChoice Clone(CustomChoiceQuestion parent)
 {
     return(new CustomChoice(parent, this));
 }
Beispiel #3
0
 public CustomChoice(CustomChoiceQuestion parent, CustomChoice original)
     : base(parent, original)
 {
     this.Title      = original.Title;
     this.TitleStyle = original.TitleStyle.Clone();
 }