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); }