Esempio n. 1
0
        public MainViewModel(INavigationService navigationService,
            ILocationService locationService,
            IOzoneDataService dataService)
        {
            _navigationService = navigationService;

            Aggregate = new DataAggregate(locationService, dataService)
            {
                AutoInferAirqualityOnFilterPropertyChanges = true
            };

            MesswerteHeader = MesswerteHeaderMainText;

            // do this before listening to INPC callbacks
            LoadLocalSettings();

            Aggregate.PropertyChanged += Aggregate_PropertyChanged;
        }
 public StationDetailsViewModel(IOzoneDataService dataService)
 {
     _dataService = dataService;
 }