GetResultList() public static méthode

public static GetResultList ( ) : List
Résultat List
        private async void DeleteSelectedButton_Click(object sender, RoutedEventArgs e)
        {
            while (this.ResultsListView.SelectedItems.Count > 0)
            {
                int selectedIndex = this.ResultsListView.SelectedIndex;

                List <Result> resultList = ResultStore.GetResultList();
                if (selectedIndex < resultList.Count)
                {
                    Result result = resultList.ElementAt(selectedIndex);
                    this.resultBrowserPageItems.RemoveAt(selectedIndex);
                    ResultStore.DeleteResult(result);
                    await Task.Delay(50);
                }
            }
            UpdateButtonVisibility();
        }
        private void EditTestButton_Click(object sender, RoutedEventArgs e)
        {
            int           selectedIndex = this.ResultsListView.SelectedIndex;
            List <Result> resultList    = ResultStore.GetResultList();

            if (selectedIndex >= 0 && selectedIndex < resultList.Count)
            {
                Result result = resultList.ElementAt(selectedIndex);
                if (result != null && File.Exists(result.FilePath))
                {
                    NavigationService navigationService = NavigationService.GetNavigationService(this);
                    navigationService.Navigate(new SelectPhotosPage(result));
                }
                else
                {
                    MessageBox.Show(Properties.Resources.ResultDoesntExistError, Properties.Resources.ResultDeletedError);
                    DisplayResults();
                }
            }
        }
        private void DisplayResults()
        {
            List <Result> resultList = ResultStore.GetResultList();

            this.resultBrowserPageItems = new ObservableCollection <ResultBrowserPageItem>();
            foreach (Result result in resultList)
            {
                ResultBrowserPageItem resultDetailPageItem = new ResultBrowserPageItem();

                //Get Name
                resultDetailPageItem.Name = result.Name;

                //Get Photo Count
                resultDetailPageItem.PhotoCount = result.PhotoCount();

                //Get MOS
                FeatureDetail overallMOSDetail = result.GetOverallMOS();
                resultDetailPageItem.OverallMOS = double.IsNaN(overallMOSDetail.Value)? Properties.Resources.NA : overallMOSDetail.Value.ToString("0.0");

                //Get Category MOS
                foreach (Category category in result.outputCategoryList)
                {
                    resultDetailPageItem.CategoryMOSList.Add(category.MOSValue);
                }

                resultBrowserPageItems.Add(resultDetailPageItem);
            }
            this.ResultsListView.DataContext = resultBrowserPageItems;

            //Update Header
            if (resultList != null && resultList.Count > 0)
            {
                ObservableCollection <string> resultsHeaderItems = new ObservableCollection <string>();
                foreach (Category category in resultList[0].outputCategoryList)
                {
                    resultsHeaderItems.Add(category.Name);
                }
                this.ResultsHeaderListView.DataContext = resultsHeaderItems;
            }
        }