コード例 #1
0
ファイル: Search.cs プロジェクト: messmerd/ScheduleApp
        // 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();
        }
コード例 #2
0
ファイル: Search.cs プロジェクト: messmerd/ScheduleApp
        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();
        }