public CitySearchView(ICitySearchService citySearchService) { InitializeComponent(); citySearchService.CitySearchBegin += OnCitySearchBegin; citySearchService.CityFound += OnCityFound; citySearchService.CityNotFound += OnCityNotFound; }
public MapView(ICitySearchService citySearchService) { InitializeComponent(); citySearchService.PresentOnMap += OnPresentOnMap; Overlay.Visibility = Visibility.Visible; WbMapBrowser.Navigate("https://www.openstreetmap.org"); }
public SuggestionsControllerV2(IMapper mapper, ICitySearchService citySearchService, ILogger <SuggestionsControllerV2> logger) { _logger = logger; _mapper = mapper; _citySearchService = citySearchService; }
public CityDetailsView(ICitySearchService citySearchService) { _citySearchService = citySearchService; InitializeComponent(); citySearchService.CityFound += OnCityFound; }