public BackgroundViewModel(Services.IBackgroundServiceFactory backgroundServiceFactory) { _backgroundService = backgroundServiceFactory.MakeBackgroundServiceFromRunner<BackgroundRunners.CounterRunner>(); _backgroundService.StartService(); CounterState = GetRunnerCounterState(); }