예제 #1
0
        public List <SearchResult> GetResults()
        {
            List <SearchResult> result = new List <SearchResult>();

            for (int index = 0; index < Results.Count; index++)
            {
                result.Add(new SearchResult
                {
                    Title = ResultsTitles.GetText(index),
                    Price = ResultsPrices.GetText(index)
                });
            }

            return(result);
        }
        public List <string> GetSummaryList()
        {
            List <string> result = new List <string>();

            for (int index = 0; index < SummaryListItems.Count; index++)
            {
                result.Add(SummaryListItems.GetText(index));
            }

            return(result);
        }