public static bool StartsWithVerb(this IList <string> words) { bool result = false; if (words.Count > 0) { result = (Verbs.Get(words[0]) != null); } return(result); }
public static Verb ToVerb(this string input) { return(Verbs.Get(input)); }