Beispiel #1
0
 public EventService(ISlackHttpClient slackClient, IElasticSearchService elasticSearchService,
                     ISearchableTextService searchableTextService, ILogger <EventService> logger)
 {
     _slackClient           = slackClient;
     _elasticSearchService  = elasticSearchService;
     _searchableTextService = searchableTextService;
     _logger = logger;
 }
 public MongoIndexingForElasticJob(
     ISearchableTextService searchableTextService,
     IElasticsearchClient elasticsearchClient,
     IApplicationPropertyDao applicationPropertyDao,
     ILogger <MongoIndexingForElasticJob> logger)
 {
     _searchableTextService  = searchableTextService;
     _elasticsearchClient    = elasticsearchClient;
     _applicationPropertyDao = applicationPropertyDao;
     _logger = logger;
 }
 public SearchableTextServiceTests()
 {
     _questionDaoMock = new Mock <IQuestionDao>();
     _service         = new SearchableTextService(_questionDaoMock.Object);
 }