public EmptyResponse(Response response, ResponseGroup parent, Comment question) { // TODO: Complete member initialization this.Response = response; this.Parent = parent; this.Question = question; }
public RealValueResponse(Response response, ResponseGroup parent, RealValueQuestion realValueQuestion, double responseValue) { this.Response = response; this.Parent = parent; this.Question = realValueQuestion; this.ResponseValue = responseValue; }
public IntegerValueResponse(Response response, ResponseGroup parent, IntegerValueQuestion question, int responseValue) { this.Response = response; this.Parent = parent; this.Question = question; this.ResponseValue = responseValue; }
public DateValueResponse(Response response, ResponseGroup parent, DateValueQuestion question, DateTime responseValue) { this.Response = response; this.Parent = parent; this.Question = question; this.ResponseValue = responseValue; }
public MoneyValueResponse(Response response, ResponseGroup parent, MoneyValueQuestion question, Money responseValue) { this.Response = response; this.Parent = parent; this.Question = question; this.ResponseValue = responseValue; }
public ChoiceResponse(Response response, ResponseGroup parent, ChoiceQuestion question) { this.Response = response; this.Parent = parent; this.Question = question; this.choices = CreateEmptyChoices(response); }
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; }
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); }
public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent) { return(new EmptyResponse(response, parent, this)); }
public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent) { RealValueResponse r = new RealValueResponse(response, parent, this, base.DefaultValue); return(r); }
public override ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent) { ChoiceResponse r = new ChoiceResponse(response, parent, this); return(r); }
public abstract ResponseBase CreateEmptyResponse(Response response, ResponseGroup parent);
public ResponseGroup(Response response, ResponseGroup parent, QuestionGroup questionGroup) { base.Response = response; base.Parent = parent; base.Question = questionGroup; }