コード例 #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;
        }
コード例 #2
0
ファイル: LookUpWordQuery.cs プロジェクト: JakeRyu/VocaPower
 public Handler(IDictionaryApiClient dictionaryService)
 {
     _dictionaryService = dictionaryService;
 }