Beispiel #1
0
        // constructor - takes a course dictionary file name
        private Search(string courseDictionary)
        {
            this.spelling         = new Spelling(courseDictionary);
            this.courseDictionary = courseDictionary;

            this.lastSearchResults = new SearchResults();
            this.options           = new AdvancedOptions();
        }
Beispiel #2
0
        public SearchResults lastSearchResults; // Stores the search results after using searchForQuery()

        // constructor - uses default course dictionary filename
        private Search()
        {
            this.spelling         = new Spelling("course_dictionary.txt");
            this.courseDictionary = "course_dictionary.txt";

            this.lastSearchResults = new SearchResults();
            this.options           = new AdvancedOptions();
        }