Ejemplo n.º 1
0
        public TextBusinessService(ITextServiceClient textServiceClient, IDictionaryApiClient dictionaryApiClient)
        {
            if (textServiceClient == null) throw new ArgumentNullException(nameof(textServiceClient));
            if (dictionaryApiClient == null) throw new ArgumentNullException(nameof(dictionaryApiClient));

            _textServiceClient = textServiceClient;
            _dictionaryApiClient = dictionaryApiClient;
        }
Ejemplo n.º 2
0
 public Handler(IDictionaryApiClient dictionaryService)
 {
     _dictionaryService = dictionaryService;
 }