Пример #1
0
 public WordManagingService(IWordService wordService, IWordTranslationService wordTranslationService,
                            ITagService tagService)
 {
     this.wordService            = wordService;
     this.wordTranslationService = wordTranslationService;
     this.tagService             = tagService;
 }
 public WordManagingService(IWordService wordService, IWordTranslationService wordTranslationService,
                            ITagService tagService)
 {
     this.wordService = wordService;
     this.wordTranslationService = wordTranslationService;
     this.tagService = tagService;
 }
 public WordTranslationController(IWordTranslationService wordTranslationService, 
     IWordTranslationMapper wordTranslationMapper,
     IWordService wordService,
     IWordMapper wordMapper)
 {
     this.wordTranslationService = wordTranslationService;
     this.wordTranslationMapper = wordTranslationMapper;
     this.wordService = wordService;
     this.wordMapper = wordMapper;
 }
Пример #4
0
 public WordsController(IWordMapper mapper, IWordService service, IWordTranslationService wordTranslationService,
                        IWordManagingService wordManagService, ITagService tagService, ITagMapper tagMapper)
 {
     _mapper                 = mapper;
     _wordService            = service;
     _wordTranslationService = wordTranslationService;
     _tagService             = tagService;
     _wordManagService       = wordManagService;
     _tagMapper              = tagMapper;
 }
 public WordsController(IWordMapper mapper, IWordService service, IWordTranslationService wordTranslationService,
     IWordManagingService wordManagService, ITagService tagService, ITagMapper tagMapper)
 {
     _mapper = mapper;
     _wordService = service;
     _wordTranslationService = wordTranslationService;
     _tagService = tagService;
     _wordManagService = wordManagService;
     _tagMapper = tagMapper;
 }
Пример #6
0
 public WordTranslationController(IWordTranslationService wordTranslationService,
                                  IWordTranslationMapper wordTranslationMapper,
                                  IWordService wordService,
                                  IWordMapper wordMapper)
 {
     this.wordTranslationService = wordTranslationService;
     this.wordTranslationMapper  = wordTranslationMapper;
     this.wordService            = wordService;
     this.wordMapper             = wordMapper;
 }
 public TrainingWordSuiteController(IQuizWordSuiteMapper quizMapper, ITrainingWordSuiteMapper trainingMapper, IWordSuiteService service,
                                    IWordProgressService progressService, IWordProgressMapper progressMapper, IWordTranslationService wordTranslationService,
                                    IWordService wordService)
 {
     _quizMapper             = quizMapper;
     _trainingMapper         = trainingMapper;
     _service                = service;
     _progressService        = progressService;
     _progressMapper         = progressMapper;
     _wordTranslationService = wordTranslationService;
     _wordService            = wordService;
 }
 public WordTranslationController(IWordTranslationService wordTranslationService,
                                  IWordTranslationMapper wordTranslationMapper,
                                  IWordManagingService editService,
                                  IWordService wordService,
                                  ITagService tagService,
                                  ITagMapper tagMapper)
 {
     this.wordTranslationService = wordTranslationService;
     this.wordTranslationMapper  = wordTranslationMapper;
     this.editService            = editService;
     this.wordService            = wordService;
     this.tagService             = tagService;
     this.tagMapper = tagMapper;
 }
 public WordTranslationController(IWordTranslationService wordTranslationService,
                                  IWordTranslationMapper wordTranslationMapper,
                                  IWordManagingService editService,
                                  IWordService wordService,
                                  ITagService tagService,
                                  ITagMapper tagMapper)
 {
     this.wordTranslationService = wordTranslationService;
     this.wordTranslationMapper = wordTranslationMapper;
     this.editService = editService;
     this.wordService = wordService;
     this.tagService = tagService;
     this.tagMapper = tagMapper;
 }
Пример #10
0
 public WordTranslationController(IHubContext <DictionaryOfWords.SignalR.ProgressHub> progressHubContext, IMultiAddToBaseService serviceMultiAdd,
                                  IWordTranslationService service, IMapper mapper) : base(mapper)
 {
     if (progressHubContext == null)
     {
         throw new ArgumentNullException(nameof(progressHubContext));
     }
     if (serviceMultiAdd == null)
     {
         throw new ArgumentNullException(nameof(serviceMultiAdd));
     }
     if (service == null)
     {
         throw new ArgumentNullException(nameof(service));
     }
     _progressHubContext = progressHubContext;
     _serviceMultiAdd    = serviceMultiAdd;
     _service            = service;
 }
Пример #11
0
 public GlobalDictionaryController(IWordTranslationMapper _wordTranslationMapper, IWordTranslationService _wordTranslationService)
 {
     wordTranslationMapper  = _wordTranslationMapper;
     wordTranslationService = _wordTranslationService;
 }
 public GlobalDictionaryController(IWordTranslationService wordTranslationService)
 {
     this.wordTranslationService = wordTranslationService;
 }
 public GlobalDictionaryController(IWordTranslationService wordTranslationService)
 {
     this.wordTranslationService = wordTranslationService;
 }
Пример #14
0
 public PhraseTranslationService(IWordTranslationService wordTranslator)
 {
     _wordTranslator = wordTranslator;
 }
 public GlobalDictionaryController(IWordTranslationMapper _wordTranslationMapper, IWordTranslationService _wordTranslationService)
 {
     wordTranslationMapper = _wordTranslationMapper;
     wordTranslationService = _wordTranslationService;
 }
Пример #16
0
 public void Setup()
 {
     _wordTranslator   = new WordTranslationService();
     _phraseTranslator = new PhraseTranslationService(_wordTranslator);
 }