Example #1
0
 public DeeplTranslator(
     ITranslationResultAdapter resultAdapter,
     ITranslationRequestSender sender)
 {
     _resultAdapter = resultAdapter;
     _sender        = sender;
 }
 public TranslationApiProxy(
     IRestProxy restProxy,
     ITranslationRestCallFactory restCallFactory,
     IMapper mapper,
     ITranslationResultAdapter translationResultAdapter)
 {
     _restProxy                = restProxy;
     _restCallFactory          = restCallFactory;
     _mapper                   = mapper;
     _translationResultAdapter = translationResultAdapter;
 }