public LearnedNounViewModel(IAddLearnedWords wordAdder, IGenderContext genderContext) { _wordAdder = wordAdder; _genderContext = genderContext; foreach (var en in Enum.GetValues(typeof(GenderEnum))) { _allowedGenders.Add((GenderEnum)en); } UpdateGenderArticles(); }
public NounWord(GenderEnum nounGender, string questionWord, string answerWord, IGenderContext genderContext) : base(questionWord, answerWord) { _context = genderContext; NounGender = nounGender; }