public AugmentedViewModel(IEventAggregator eventAggregator,
                           ILocationService locationService,
                           IPointOfInterestService pointOfInterestService,
                           INavigationService navigationService)
     : base(eventAggregator, locationService, pointOfInterestService, navigationService)
 {
 }
        public PointOfInterestController(IPointOfInterestService pointOfInterestService, IMapper mapper)
        {
            Guard.ArgumentNotNull(pointOfInterestService, nameof(pointOfInterestService));
            Guard.ArgumentNotNull(mapper, nameof(mapper));

            _pointOfInterestService = pointOfInterestService;
            _mapper = mapper;
        }
 public FilteredPOIViewBase(IEventAggregator eventAggregator,
                            ILocationService locationService,
                            IPointOfInterestService pointOfInterestService,
                            INavigationService navigationService)
 {
     _eventAggregator        = eventAggregator;
     _navigationService      = navigationService;
     _locationService        = locationService;
     _pointOfInterestService = pointOfInterestService;
 }
Ejemplo n.º 4
0
 public PointsOfInterestController(
     ILogger <PointsOfInterestController> logger,
     IMailServices mailService,
     ICityService cityService,
     IPointOfInterestService pointOfInterestservice)
 {
     _logger                 = logger;
     _mailService            = mailService;
     _pointOfInterestservice = pointOfInterestservice;
     _cityService            = cityService;
 }
        public void Setup()
        {
            string storagePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

            _poiService = new PointOfInterestService(storagePath);

            // clear any existing json files
            foreach (string filename in Directory.EnumerateFiles(storagePath, "*.json"))
            {
                File.Delete(filename);
            }
        }
Ejemplo n.º 6
0
 public PointOfInterestApplicationService(IPointOfInterestService PointOfInterestService, IMapper Mapper)
 {
     _PointOfInterestService = PointOfInterestService;
     _Mapper = Mapper;
 }
 public CreatePointOfInterestViewModel(IEventAggregator eventAggregator, INavigationService navigationService, IPointOfInterestService pointOfInterestService)
 {
     _eventAggregator        = eventAggregator;
     _navigationService      = navigationService;
     _pointOfInterestService = pointOfInterestService;
 }
Ejemplo n.º 8
0
 public PointOfInterestController(IPointOfInterestService pointOfInterestService)
 {
     _pointOfInterestService = pointOfInterestService;
 }
Ejemplo n.º 9
0
 public PointsOfInterestController(IPointOfInterestService pointOfInterestService, ICityService cityService)
 {
     _pointOfInterestService = pointOfInterestService;
     _cityService            = cityService;
 }
 public LocationListViewModel(IEventAggregator eventAggregator, IPointOfInterestService pointOfInterestService)
 {
     _eventAggregator        = eventAggregator;
     _pointOfInterestService = pointOfInterestService;
 }