void GeocodingPageLoaded(object sender, RoutedEventArgs e) { // init geocode manaager instance and subscribe to its events _geocodeManager = Yandex.Maps.Helpers.GeocodeManagerProvider.GetGeocodeManager(); _geocodeManager.GeocodeCompleted += GeocodeManagerGeocodeCompleted; _geocodeManager.GeocodeFailed += GeocodeManagerOnGeocodeFailed; }
public Sawyer(AddressQualityChecker addressQualityChecker, IGeocodeManager geocodeManager, ILocationCacheFactory locationCacheFactory, ILogger <Sawyer> logger, TreeParser treeParser, ITreeReader treeReader, ITreeWriter treeWriter) { this.addressQualityChecker = addressQualityChecker; this.geocodeManager = geocodeManager; this.locationCache = locationCacheFactory.Create(); this.logger = logger; this.treeParser = treeParser; this.treeReader = treeReader; this.treeWriter = treeWriter; }
public StatusTests() { geocodeManager = ConfigureDi.Services.GetRequiredService <IGeocodeManager>(); }
public FailoverTests() { geocodeManager = ConfigureDi.Services.GetRequiredService <IGeocodeManager>(); }