public ResponseBasedCondition(ResponseConditionDelegate responseConditionDelegate) { this.responseConditionDelegate = responseConditionDelegate; }
public static IExecuteAction IsTrue(ResponseConditionDelegate responseConditionDelegate) { return new When(new ResponseBasedCondition(responseConditionDelegate)); }
public static On Response(ResponseConditionDelegate responseConditionDelegate) { return new On(new Condition((response, context) => responseConditionDelegate(response))); }