예제 #1
0
        public CitySearchView(ICitySearchService citySearchService)
        {
            InitializeComponent();

            citySearchService.CitySearchBegin += OnCitySearchBegin;
            citySearchService.CityFound       += OnCityFound;
            citySearchService.CityNotFound    += OnCityNotFound;
        }
예제 #2
0
        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;
 }
예제 #4
0
 public CityDetailsView(ICitySearchService citySearchService)
 {
     _citySearchService = citySearchService;
     InitializeComponent();
     citySearchService.CityFound += OnCityFound;
 }