SplashScreenService doesn't work as I want
问题 I am trying to get the SplashScreenService up and running. It does show my splashscreen, but it doesn't close, never. I have this code in app.xaml.cs: protected override void OnStartup(StartupEventArgs e) { ServiceLocator.Default.RegisterTypeIfNotYetRegistered<ISplashScreenService, SplashScreenService>(); var splashScreenService = ServiceLocator.Default.ResolveType<ISplashScreenService>(); splashScreenService.Enqueue(new ActionTask("Task1", tracker => Thread.Sleep(2000))); splashScreenService