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;
 }
Beispiel #3
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new Comment(parent, this));
 }
Beispiel #4
0
 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));
 }
Beispiel #7
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     throw new NotImplementedException();
 }
Beispiel #8
0
 public abstract QuestionBase Clone(QuestionChoice parent);
Beispiel #9
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new DiverseQuestionGroup(parent, this));
 }