Пример #1
0
 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);
         }
     }
 }
Пример #2
0
 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;
 }
Пример #3
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new Comment(parent, this));
 }
Пример #4
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new RealValueQuestion(parent, this));
 }
Пример #5
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new CustomChoiceQuestion(parent, this));
 }
Пример #6
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new LikertItemList(parent, this));
 }
Пример #7
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     throw new NotImplementedException();
 }
Пример #8
0
 public abstract QuestionBase Clone(QuestionChoice parent);
Пример #9
0
 public override QuestionBase Clone(QuestionChoice parent)
 {
     return(new DiverseQuestionGroup(parent, this));
 }