public void SetUp() { _mapsApiClient = new MapsAPIClient(new ConfigurationWrapper().GetEnvironmentVarAsString("GOOGLE_API_SECRET_KEY")); _addressGeocodingService = new GoogleMapsAddressGeocodingService(_mapsApiClient); _fixture = new GoogleMapsDistanceMatrixAddressProximityService(_mapsApiClient, _addressGeocodingService); }
public AwsCloudsearchService(IAddressGeocodingService addressGeocodingService, IFinderRepository finderRepository, IConfigurationWrapper configurationWrapper) { _addressGeocodingService = addressGeocodingService; _finderRepository = finderRepository; _configurationWrapper = configurationWrapper; AmazonSearchUrl = _configurationWrapper.GetEnvironmentVarAsString("CRDS_AWS_CONNECT_ENDPOINT"); AwsAccessKeyId = _configurationWrapper.GetEnvironmentVarAsString("CRDS_AWS_CONNECT_ACCESSKEYID"); AwsSecretAccessKey = _configurationWrapper.GetEnvironmentVarAsString("CRDS_AWS_CONNECT_SECRETACCESSKEY"); }
public GeocodeCalculationAddressProximityService(IAddressGeocodingService addressGeocodingService) { _addressGeocodingService = addressGeocodingService; }
public AddressService(MinistryPlatform.Translation.Repositories.Interfaces.IAddressRepository mpAddressService, IAddressGeocodingService addressGeocodingService) { _mpAddressService = mpAddressService; _addressGeocodingService = addressGeocodingService; }
public GoogleMapsDistanceMatrixAddressProximityService(IMapsAPIClient mapsApiClient, IAddressGeocodingService addressGeocodingService) { _mapsApiClient = mapsApiClient; _addressGeocodingService = addressGeocodingService; }
public AddressController(IAddressGeocodingService addressGeocodingService) { _addressGeocodingService = addressGeocodingService; }