Esempio n. 1
0
 public static bool Includes(this Clause clause, Phrase phrase, params Phrase[] phrases) => clause.Includes(phrases.Prepend(phrase));
Esempio n. 2
0
 public static bool Includes(this Clause clause, Phrase phrase) => clause == phrase.Clause;
Esempio n. 3
0
 public static bool Includes(this Clause clause, IEnumerable <Phrase> phrases) => phrases.All(clause.Includes);