public ChoiceResponse(Response response, ResponseGroup parent, ChoiceQuestion question) { this.Response = response; this.Parent = parent; this.Question = question; this.choices = CreateEmptyChoices(response); }
public ChoiceQuestion(IQuestionParent parent, ChoiceQuestion original) : base(parent, original) { this.AllowMultipleSelections = original.AllowMultipleSelections; IList <QuestionChoice> choices = new List <QuestionChoice>(); foreach (QuestionChoice c in original.choices) { choices.Add(c.Clone(this)); } this.choices = choices; }
public QuestionChoice(ChoiceQuestion parent, QuestionChoice original) { this.ParentQuestion = parent; if (null != this.FurtherQuestion) { this.FurtherQuestion = original.FurtherQuestion.Clone(this); } this.FurtherQuestionStartsOnTheNextRow = original.FurtherQuestionStartsOnTheNextRow; this.Rubric = original.Rubric.Clone(); this.RubricIsVisible = original.RubricIsVisible; this.Score = original.Score; this.SeqNo = original.SeqNo; }
public RubricCommonChoice(ChoiceQuestion parent, RubricCommonChoice original) : base(parent, original) { // TODO: Complete member initialization this.commonChoice = original.commonChoice; }
public override QuestionChoice Clone(ChoiceQuestion parent) { return(new RubricCommonChoice(parent, this)); }
public abstract QuestionChoice Clone(ChoiceQuestion parent);
public override QuestionChoice Clone(ChoiceQuestion parent) { throw new NotImplementedException(); }
public override QuestionChoice Clone(ChoiceQuestion parent) { return(new CustomChoice((CustomChoiceQuestion)parent, this)); }