Ejemplo n.º 1
0
        private async Task LoadSolution()
        {
            if (!_testProvider.IsActive)
            {
                var testSolution = await _testProvider.GetTestSolutionAsync(_editorContext.Solution, SelectedTestSettings);

                Update(testSolution);
                IsSolutionLoaded = true;
            }
        }
Ejemplo n.º 2
0
        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;
                }
            }
        }