private async Task InitializeServices() { LoggingService.LogInfo("Starting installation app client"); Manager = new InstallManager(); await Manager.InitializeAppStateAsync().ConfigureAwait(false); Dispatcher.Invoke(() => { MainWindow = new ProductSelectionView(Manager); if (_makeVisible) { MainWindow.Show(); } }); }
public ProductSelectionView(InstallManager mgr) { InitializeComponent(); InitializeServices(mgr); }