예제 #1
0
 public EmptyResponse(Response response, ResponseGroup parent, Comment question)
 {
     // TODO: Complete member initialization
     this.Response = response;
     this.Parent   = parent;
     this.Question = question;
 }
예제 #2
0
 public RealValueResponse(Response response, ResponseGroup parent, RealValueQuestion realValueQuestion, double responseValue)
 {
     this.Response      = response;
     this.Parent        = parent;
     this.Question      = realValueQuestion;
     this.ResponseValue = responseValue;
 }
예제 #3
0
 public IntegerValueResponse(Response response, ResponseGroup parent, IntegerValueQuestion question, int responseValue)
 {
     this.Response      = response;
     this.Parent        = parent;
     this.Question      = question;
     this.ResponseValue = responseValue;
 }
예제 #4
0
 public DateValueResponse(Response response, ResponseGroup parent, DateValueQuestion question, DateTime responseValue)
 {
     this.Response      = response;
     this.Parent        = parent;
     this.Question      = question;
     this.ResponseValue = responseValue;
 }
예제 #5
0
 public MoneyValueResponse(Response response, ResponseGroup parent, MoneyValueQuestion question, Money responseValue)
 {
     this.Response      = response;
     this.Parent        = parent;
     this.Question      = question;
     this.ResponseValue = responseValue;
 }
예제 #6
0
 public ChoiceResponse(Response response, ResponseGroup parent, ChoiceQuestion question)
 {
     this.Response = response;
     this.Parent   = parent;
     this.Question = question;
     this.choices  = CreateEmptyChoices(response);
 }
예제 #7
0
 public TextValueResponse(Response response, ResponseGroup parent, TextValueQuestion question, string responseValue)
 {
     // TODO: Complete member initialization
     this.Response      = response;
     this.Parent        = parent;
     this.Question      = question;
     this.ResponseValue = responseValue;
 }
예제 #8
0
        public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent)
        {
            ResponseGroup g = new ResponseGroup(response, parent, this);

            foreach (QuestionBase r in this.Children)
            {
                g.Children.Add(r.CreateEmptyResponse(response, g));
            }
            return(g);
        }
예제 #9
0
 public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent)
 {
     return(new EmptyResponse(response, parent, this));
 }
예제 #10
0
        public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent)
        {
            RealValueResponse r = new RealValueResponse(response, parent, this, base.DefaultValue);

            return(r);
        }
예제 #11
0
        public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent)
        {
            ChoiceResponse r = new ChoiceResponse(response, parent, this);

            return(r);
        }
예제 #12
0
 public abstract ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent);
예제 #13
0
 public ResponseGroup(Response response, ResponseGroup parent, QuestionGroup questionGroup)
 {
     base.Response = response;
     base.Parent   = parent;
     base.Question = questionGroup;
 }