コード例 #1
0
 public bool ContainsWord(string text)
 {
     return
         (EnumerableHelper.AnyOne <ZEnumType>(EnumTypes, (ZEnumType zenum) => zenum.ZName == text) ||
          EnumerableHelper.AnyOne <ZClassType>(ClassTypes, (ZClassType zclass) => zclass.ZName == text) ||
          IWordDictionaryHelper.ArrayContainsWord(text, EnumTypes.ToArray()) ||
          IWordDictionaryHelper.ArrayContainsWord(text, ClassTypes.ToArray()));  // this.WordDictionaryList.ContainsWord(text);
 }
コード例 #2
0
 public bool ContainsWord(string text)
 {
     return(IWordDictionaryHelper.ArrayContainsWord(text, this));
 }