public TextValueQuestion(IQuestionParent parent, TextValueQuestion original) : base(parent, original) { this.DefaultValue = original.DefaultValue; this.LowerBound = original.LowerBound; this.UpperBound = original.UpperBound; }
public DateValueQuestion(IQuestionParent parent, DateValueQuestion original) : base(parent, original) { base.DefaultValue = original.DefaultValue; base.LowerBound = original.LowerBound; base.UpperBound = original.UpperBound; }
public QuestionGroup(IQuestionParent parent, QuestionGroup original) : base(parent, original) { List <QuestionBase> children = new List <QuestionBase>(); foreach (QuestionBase c in original.Children) { children.Add(c.Clone(this)); } }
public CustomChoiceQuestion(IQuestionParent parent, CustomChoiceQuestion original) : base(parent, original) { IList <CustomChoice> choices = new List <CustomChoice>(); foreach (CustomChoice c in original.Choices) { choices.Add(c.Clone(this)); } base.choices = choices; }
public CommonChoiceQuestion(IQuestionParent parent, CommonChoiceQuestion original) : base(parent, original) { IList <RubricCommonChoice> choices = new List <RubricCommonChoice>(); foreach (RubricCommonChoice c in original.choices) { choices.Add(new RubricCommonChoice(this, c)); } base.choices = choices; }
public ChoiceQuestion(IQuestionParent parent, ChoiceQuestion original) : base(parent, original) { this.AllowMultipleSelections = original.AllowMultipleSelections; IList <QuestionChoice> choices = new List <QuestionChoice>(); foreach (QuestionChoice c in original.choices) { choices.Add(c.Clone(this)); } this.choices = choices; }
public QuestionBase(IQuestionParent parent, QuestionBase original) { if (null == original) { throw new iSabayaException("Original instance is null."); } this.Parent = parent; this.ItemNo = original.ItemNo; this.LevelNo = original.LevelNo; this.MemberLayout = original.MemberLayout.Clone(); this.PageBreak = original.PageBreak; this.Rubric = original.Rubric.Clone(); this.RubricIsVisible = original.RubricIsVisible; this.RubricStyle = original.RubricStyle.Clone(); this.Title = original.Title.Clone(); this.TitleIsVisible = original.TitleIsVisible; this.TitleStyle = original.TitleStyle.Clone(); }
public QuestionItem(IQuestionParent parent, QuestionItem original) : base(parent, original) { this.ResponseIsRequired = original.ResponseIsRequired; }
public Comment(IQuestionParent parent, Comment original) : base(parent, original) { }
public RealValueQuestion(IQuestionParent parent, RealValueQuestion original) : base(parent, original) { }
public LikertItemList(IQuestionParent parent, LikertItemList original) : base(parent, original) { this.ChoiceTitleAsColumnHeader = original.ChoiceTitleAsColumnHeader; this.RatingScale = original.RatingScale; }
public ValueQuestion(IQuestionParent parent, ValueQuestion <T> original) : base(parent, original) { this.Suffix = original.Suffix.Clone(); }
public DiverseQuestionGroup(IQuestionParent parent, DiverseQuestionGroup original) : base(parent, original) { }