private async Task LoadSolution() { if (!_testProvider.IsActive) { var testSolution = await _testProvider.GetTestSolutionAsync(_editorContext.Solution, SelectedTestSettings); Update(testSolution); IsSolutionLoaded = true; } }
private async Task LoadSolution() { if (!_testProvider.IsActive) { IsSolutionLoading = true; var testSolution = await _testProvider.GetTestSolutionAsync(_editorContext.Solution, SelectedTestSettings); Update(testSolution); IsSolutionLoading = false; IsSolutionLoaded = true; if (SelectedTestItem == null) { SelectedTestItem = TestSolution; TestSolution.IsSelected = true; } } }