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