public override void Evaluate(IRuleContext context, StringBuilder builder) { string result = Rule.Evaluate(context); context[Memo] = new TextRule(result); builder.Append(result); }
public override void Evaluate(IRuleContext context, StringBuilder builder) { if (context.Optional()) { Rule.Evaluate(context, builder); } }