Exemple #1
0
 public HomeController(IEnumerable <IExternalWebSearchApiClient> externalWebSearchApiClients,
                       ISearchResultsService searchResultsService,
                       ILogger <HomeController> logger)
 {
     _externalWebSearchApiClients = externalWebSearchApiClients;
     _searchResultService         = searchResultsService;
     _logger   = logger;
     _taskList = new List <Task <SearchResult> >();
 }
 public SearchController(ISearchResultsService resultsService)
 {
     _resultsService = resultsService;
 }
Exemple #3
0
 public GoogleSearchResultsController(ILogger <GoogleSearchResultsController> logger, ISearchResultsService searchResultsService)
 {
     _logger = logger;
     _google = searchResultsService;
 }