public MeetingPointController(AppSettings appSettings, IHereService hereService, DBRepository dbRepository, IRouteSearcher routeSearcher) { _hereService = hereService; _dbRepository = dbRepository; _routeSearcher = routeSearcher; _appSettings = appSettings; }
public SearchController(IRouteSearcher routeSearcher, IHereService hereService, DataService dataService) { _routeSearcher = routeSearcher; _hereService = hereService; _dataService = dataService; }
public SearchEngine(RouteSearcherType routeSearchEngineType) { switch (routeSearchEngineType) { case RouteSearcherType.DFS: _routeSearcher = (IRouteSearcher) new RouteSearchDFS(); break; case RouteSearcherType.BFS: _routeSearcher = (IRouteSearcher) new RouteSearchDFS(); break; } }
public RouteSearcherController(IHereService hereService, IRouteSearcher routeSearcher, ISuggestionSearcher suggestionSearcher) { _hereService = hereService; _routeSearcher = routeSearcher; _suggestionSearcher = suggestionSearcher; }