public WordListItemModel(Word w, TextToSpeech tts) { this.word = w; w.PropertyChanged += new PropertyChangedEventHandler(w_PropertyChanged); this.translation = w.getTranslation(App.LanguagesListModel.MotherLanguage.Code); playCmd = new PlaySound(word, tts); }
public WordsViewModel(TextToSpeech tts, Vocabulary vocabulary) { this.usedVocabulary = vocabulary; this.tts = tts; }
public PlaySound(Word w, TextToSpeech tts) { this.tts = tts; this.word = w; }
public WordsViewModel(TextToSpeech tts) { this.tts = tts; }