Ejemplo n.º 1
0
//        public ResultSet<LexEntry> NotifyOfAddedWord()
//        {
//            return
//                    LexEntryRepository.GetEntriesWithMatchingGlossSortedByLexicalForm(
//                            CurrentWordAsMultiText.Find(_preferredPromptingWritingSystemId),
//                            _lexicalUnitWritingSystem);
//        }

        public ResultSet <LexEntry> GetRecordsWithMatchingGloss()
        {
            //var form = CurrentWordAsMultiText.GetBestAlternative(new string[]{_preferredPromptingWritingSystemId});
            var form = CurrentPromptingLanguageForm;

            return
                (LexEntryRepository.GetEntriesWithMatchingGlossSortedByLexicalForm(
                     form,
                     _lexicalUnitWritingSystem));
        }