Example #1
0
 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);
 }
Example #2
0
 public WordsViewModel(TextToSpeech tts, Vocabulary vocabulary)
 {
     this.usedVocabulary = vocabulary;
     this.tts = tts;
 }
Example #3
0
 public PlaySound(Word w, TextToSpeech tts)
 {
     this.tts = tts;
     this.word = w;
 }
Example #4
0
 public WordsViewModel(TextToSpeech tts)
 {
     this.tts = tts;
 }