Example #1
0
 public TranslateWord Translate(TranslateWord word, TranslateLanguages translatedLanguage)
 => _translator.Translate(word, translatedLanguage, _driver);
 public TranslateWord Translate(TranslateWord word, TranslateLanguages targetLanguage)
 => _translator.Translate(word, targetLanguage);
Example #3
0
 public async Task <TranslateWord> TranslateAsync(
     TranslateWord word,
     TranslateLanguages translatedLanguage)
 => await _service.TranslateAsync(word, translatedLanguage);
Example #4
0
 public string Translate(string word, TranslateLanguages translatedLanguage)
 => _translator.Translate(word, translatedLanguage, _driver);