public HomePageViewModel( INavigationService navigationService, ILoggerService loggerService, IUserDataRepository userDataRepository, IExposureDataRepository exposureDataRepository, IExposureRiskCalculationService exposureRiskCalculationService, AbsExposureNotificationApiService exposureNotificationApiService, ILocalNotificationService localNotificationService, AbsExposureDetectionBackgroundService exposureDetectionBackgroundService, IExposureConfigurationRepository exposureConfigurationRepository, IExposureRiskCalculationConfigurationRepository exposureRiskCalculationConfigurationRepository, ICheckVersionService checkVersionService, IEssentialsService essentialsService, IDialogService dialogService, IExternalNavigationService externalNavigationService ) : base(navigationService) { Title = AppResources.HomePageTitle; this.loggerService = loggerService; this._userDataRepository = userDataRepository; this._exposureDataRepository = exposureDataRepository; this._exposureRiskCalculationService = exposureRiskCalculationService; this.exposureNotificationApiService = exposureNotificationApiService; this.localNotificationService = localNotificationService; this.exposureDetectionBackgroundService = exposureDetectionBackgroundService; this.exposureConfigurationRepository = exposureConfigurationRepository; this.exposureRiskCalculationConfigurationRepository = exposureRiskCalculationConfigurationRepository; this.checkVersionService = checkVersionService; this.essentialsService = essentialsService; this.dialogService = dialogService; this.externalNavigationService = externalNavigationService; }
public HowToEnableExposureNotificationsPageViewModel( INavigationService navigationService, IExternalNavigationService externalNavigationService ) : base(navigationService) { _externalNavigationService = externalNavigationService; }
public MainMenuViewModel(IDicePanel dicePanel, IExternalNavigationService externalNavigationService, IPlayerService playerService) : base(dicePanel) { _externalNavigationService = externalNavigationService; _playerService = playerService; FillMainActions(); FillSecondaryActions(); }
public MainViewModel(Catalog catalog, ShoppingCart cart, IExternalNavigationService navigationService) { _catalog = catalog; _catalog.ProductsLoaded += OnProductsLoaded; _catalog.LoadPopularProducts(); _cart = cart; _cart.OrderCheckedOut += OnCartOrderCheckedOut; _navigationService = navigationService; }
public MainWindowModel(Catalog catalog, ShoppingCart cart, IExternalNavigationService navigationService) { _catalog = catalog; _catalog.ProductsLoaded += OnProductsLoaded; _catalog.LoadPopularProducts(); _cart = cart; _cart.OrderCheckedOut += OnCartOrderCheckedOut; _navigationService = navigationService; }
public override void Init() { base.Init(); _externalNavigationServiceMock = Substitute.For <IExternalNavigationService>(); _sut = new MainMenuViewModel(dicePanelMock, _externalNavigationServiceMock, playerServiceMock); }