public ResponseChoice(Response response, ChoiceResponse parent, QuestionChoice item) { this.Parent = parent; this.QuestionChoice = item; if (null != item) { this.Score = item.Score; if (null != item.FurtherQuestion) { this.FurtherResponse = item.FurtherQuestion.CreateEmptyResponse(response, null); } } }
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 override QuestionBase Clone(QuestionChoice parent) { return(new Comment(parent, this)); }
public override QuestionBase Clone(QuestionChoice parent) { return(new RealValueQuestion(parent, this)); }
public override QuestionBase Clone(QuestionChoice parent) { return(new CustomChoiceQuestion(parent, this)); }
public override QuestionBase Clone(QuestionChoice parent) { return(new LikertItemList(parent, this)); }
public override QuestionBase Clone(QuestionChoice parent) { throw new NotImplementedException(); }
public abstract QuestionBase Clone(QuestionChoice parent);
public override QuestionBase Clone(QuestionChoice parent) { return(new DiverseQuestionGroup(parent, this)); }