コード例 #1
0
        public WordInfo SearchWord(string text)
        {
            if (!ContainsWord(text))
            {
                return(null);
            }
            ZType    ztype = SearchZTypeOne(text);
            WordInfo info0 = null;

            if (ztype != null)
            {
                info0 = new WordInfo(text, WordKind.TypeName, ztype);
            }
            WordInfo info1   = IWordDictionaryHelper.EnumerableSearchWord(text, EnumTypes);
            WordInfo info2   = IWordDictionaryHelper.EnumerableSearchWord(text, ClassTypes);
            WordInfo newWord = WordInfo.Merge(info0, info1, info2);

            return(newWord);
        }
コード例 #2
0
        public WordInfo SearchWord(string text)
        {
            WordInfo info1 = IWordDictionaryHelper.EnumerableSearchWord(text, PackageDescTable.Values);

            return(info1);
        }
コード例 #3
0
 public WordInfo SearchWord(string text)
 {
     return(IWordDictionaryHelper.EnumerableSearchWord(text, this));
 }