public HibernationPromptViewModel( ILog log, IHibernationService hibernationService, IEventAggregator eventAggregator) : base(eventAggregator) { this.log = log; this.hibernationService = hibernationService; }
public HibernationWarningViewModel( IActionLog log, IHibernationService hibernationService, ISettings settings, DispatcherTimer timer, IEventAggregator eventAggregator) : base(eventAggregator) { this.log = log; this.hibernationService = hibernationService; this.settings = settings; timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += Timer_Tick_UpdateWindow; timer.Start(); }