/// <summary> /// Creates an instance of the screen. /// </summary> public ShellViewModel(GameNotRunningViewModel idle, GameRunningViewModel running, IEventAggregator agg) { _idle = idle; _running = running; _agg = agg; DisplayName = "Bro do you even stack?"; _timer = new Timer(INTERVAL); _timer.Elapsed += (sender, args) => Detect(); _timer.AutoReset = true; agg.PublishOnBackgroundThread(new FirstLoad()); }