public QuestionnaireViewModel(ScrollItemsViewModel scrollItemsViewModel, Context.IContext context) : base() { _context = context; ScrollVM = scrollItemsViewModel; Initialize(); Questions.CollectionChanged += Questions_CollectionChanged; Answers.CollectionChanged += Answers_CollectionChanged; ScrollVM.PropertyChanged += ScrollItemsViewModel_PropertyChanged; }
public QuestionnaireViewModel(Entity.Questionnaire questionnaire, ScrollItemsViewModel scrollItemsViewModel, Context.IContext context) : this(scrollItemsViewModel, context) { Questionnaire = questionnaire; }