public ActionCallSpec Call <C>(Expression <Action <C> > expression) { ActionCallSpec call = ActionCallSpec.For(expression); Inner = call; return(call); }
public JsonOutputSpec Json <C>() where C : class { var json = new JsonOutputSpec(typeof(C)); Inner = json; return(json); }
protected void propagate(BehaviorSpecCheck check, IBehaviorSpec spec, BehaviorNode node) { if (spec == null && node != null) { check.RegisterError("unexpected node: " + node); } if (spec != null) { spec.Verify(check, node); } }