Пример #1
0
 private QuestionListViewModelBase this[QuestionEnumType t] => QuestionLists.Find((q) => q.QuestionType == t);
Пример #2
0
 private void GenerateQuestions(QuestionEnumType t)
 {
     this[t].GenerateQuestions();
     this[t].IsCorrectAnswerVisible = false;
 }
Пример #3
0
 protected QuestionListViewModelBase(QuestionEnumType t)
 {
     QuestionType = t;
     _generator.QuestionsGenerated += Generator_QuestionsGenerated;
 }
Пример #4
0
 private void ShowAnswer(QuestionEnumType t)
 {
     this[t].ShowAnswer();
 }
Пример #5
0
 public QuestionListViewModel(QuestionEnumType t) : base(t)
 {
 }