Beispiel #1
0
        private void Search(string Topic)
        {
            IBingService bingService = DIManager.Instance.Resolve <IBingService>();

            Results = bingService.Search(Topic);
        }
Beispiel #2
0
 public ApplicationService(ILogger logger, IBingService bingService)
 {
     _logger      = logger;
     _bingService = bingService;
 }
Beispiel #3
0
 /// <summary>
 /// EngineService
 /// </summary>
 /// <param name="googleService"></param>
 public EngineService(IGoogleService googleService,
                      IBingService bingService)
 {
     _googleService = googleService;
     _bingService   = bingService;
 }