public static ThenGrammar Then(this GivenGrammar givenGrammar, string description, Func <SpecificationContext, bool> implementation) { var thenGrammar = new ThenGrammar(givenGrammar.Context, description, implementation, ThenGrammarPrefix.Then); thenGrammar.Evaluate(); return(thenGrammar); }
public static ThenGrammar And(this ThenGrammar thenGrammar, string description) { return(And(thenGrammar, description, null)); }