Ejemplo n.º 1
0
        public HubViewModel(
            IActionLog log,
            IAppWindowManager appWindowManager,
            IEventAggregator eventAggregator,
            ISettings settings)
        {
            this.log = log;
            this.appWindowManager = appWindowManager;
            this.settings         = settings;

            eventAggregator.Subscribe(this);
        }
Ejemplo n.º 2
0
 public WelcomeViewModel(
     IAppWindowManager appWindowManager,
     ICompanyApiClient companyApiClient,
     INetworkService networkService,
     ISettings settings,
     IActionLog log)
 {
     this.appWindowManager = appWindowManager;
     this.companyApiClient = companyApiClient;
     this.networkService   = networkService;
     this.settings         = settings;
     this.log = log;
 }
 public AppUpdateService(
     IActionLog log,
     IUpdateManager updateManager,
     IRegistryManager registryManager,
     IAppConfigurationManager configurationManager,
     IAppWindowManager appWindowManager,
     DispatcherTimer timer)
 {
     this.log                  = log;
     this.updateManager        = updateManager;
     this.registryManager      = registryManager;
     this.configurationManager = configurationManager;
     this.appWindowManager     = appWindowManager;
     this.timer                = timer;
 }
        public HibernationService(
            IActionLog log,
            IAppWindowManager appWindowManager,
            IEventAggregator eventAggregator,
            INotificationManager notificationManager,
            ISettings settings,
            DispatcherTimer timer)
        {
            this.log = log;
            this.appWindowManager    = appWindowManager;
            this.notificationManager = notificationManager;
            this.settings            = settings;
            this.timer = timer;

            eventAggregator.Subscribe(this);
        }
 public ReminderService(
     IActionLog log,
     INotificationManager notificationManager,
     IHeatingReminderHelper heatingReminderHelper,
     IAppWindowManager appWindowManager,
     IEventAggregator eventAggregator,
     ISettings settings,
     DispatcherTimer timer,
     INetworkService networkService)
 {
     this.log = log;
     this.notificationManager   = notificationManager;
     this.heatingReminderHelper = heatingReminderHelper;
     this.appWindowManager      = appWindowManager;
     this.eventAggregator       = eventAggregator;
     this.settings       = settings;
     this.timer          = timer;
     this.networkService = networkService;
 }