public MeetingPointController(AppSettings appSettings, IHereService hereService, DBRepository dbRepository, IRouteSearcher routeSearcher)
 {
     _hereService   = hereService;
     _dbRepository  = dbRepository;
     _routeSearcher = routeSearcher;
     _appSettings   = appSettings;
 }
예제 #2
0
 public SearchController(IRouteSearcher routeSearcher, IHereService hereService,
                         DataService dataService)
 {
     _routeSearcher = routeSearcher;
     _hereService   = hereService;
     _dataService   = dataService;
 }
예제 #3
0
        public SearchEngine(RouteSearcherType routeSearchEngineType)
        {
            switch (routeSearchEngineType)
            {
            case RouteSearcherType.DFS:
                _routeSearcher = (IRouteSearcher) new RouteSearchDFS();
                break;

            case RouteSearcherType.BFS:
                _routeSearcher = (IRouteSearcher) new RouteSearchDFS();
                break;
            }
        }
예제 #4
0
 public RouteSearcherController(IHereService hereService, IRouteSearcher routeSearcher, ISuggestionSearcher suggestionSearcher)
 {
     _hereService        = hereService;
     _routeSearcher      = routeSearcher;
     _suggestionSearcher = suggestionSearcher;
 }