Esempio n. 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);
         }
     }
 }
        public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent)
        {
            ChoiceResponse r = new ChoiceResponse(response, parent, this);

            return(r);
        }