public SendReceiptService( ICommandBus commandBus, IIBSServiceProvider ibsServiceProvider, IOrderDao orderDao, IOrderPaymentDao orderPaymentDao, ICreditCardDao creditCardDao, IAccountDao accountDao, IPromotionDao promotionDao, IReportDao reportDao, IServerSettings serverSettings, IGeocoding geocoding, ILogger logger) { _serverSettings = serverSettings; _logger = logger; _ibsServiceProvider = ibsServiceProvider; _orderDao = orderDao; _orderPaymentDao = orderPaymentDao; _accountDao = accountDao; _promotionDao = promotionDao; _reportDao = reportDao; _creditCardDao = creditCardDao; _geocoding = geocoding; _commandBus = commandBus; }
public GeolocService(IGeocoding geocoding, IAddresses addresses, IDirections directions, INetworkRoamingService networkRoamingService) { _directions = directions; _networkRoamingService = networkRoamingService; _addresses = addresses; _geocoding = geocoding; }
public LocationManagement(IUnitOfWork unitOfWork, IRepository <Location> repository, IMapper mapper, IGeocoding geocodingHandler) { _unitOfWork = unitOfWork; _repository = repository; _mapper = mapper; _geocodingHandler = geocodingHandler; }
public static void SetMapServiceToken(this IGeocoding geocoding, string?mapServiceToken) { if (geocoding is not IPlatformGeocoding platform) { throw new PlatformNotSupportedException("This implementation of IGeocoding does not implement IPlatformGeocoding."); } platform.MapServiceToken = mapServiceToken; }
public static string?GetMapServiceToken(this IGeocoding geocoding) { if (geocoding is not IPlatformGeocoding platform) { throw new PlatformNotSupportedException("This implementation of IGeocoding does not implement IPlatformGeocoding."); } return(platform.MapServiceToken); }
public static Task <IEnumerable <Placemark> > GetPlacemarksAsync(this IGeocoding geocoding, Location location) { if (location == null) { throw new ArgumentNullException(nameof(location)); } return(geocoding.GetPlacemarksAsync(location.Latitude, location.Longitude)); }
public AddressPickerViewModel(IOrderWorkflowService orderWorkflowService, IPlaces placesService, IGeolocService geolocService, IAccountService accountService, ILocationService locationService, IPostalCodeService postalCodeService, IGeocoding geocodingService) { _orderWorkflowService = orderWorkflowService; _geolocService = geolocService; _placesService = placesService; _accountService = accountService; _locationService = locationService; _postalCodeService = postalCodeService; _geocodingService = geocodingService; Observe(_orderWorkflowService.GetAndObserveAddressSelectionMode(), addressSelectionMode => AddressSelectionMode = addressSelectionMode); Observe(_orderWorkflowService.GetAndObserveDropOffSelectionMode(), dropOffSelectionMode => IsDropOffSelectionMode = dropOffSelectionMode); FilteredPlaces = new AddressViewModel[0]; }
public GeocodingService(IGeocoding geocoding, IAccountDao accountDao) { _geocoding = geocoding; _accountDao = accountDao; }