public void Invoke() { if (_condition.ShouldExecute()) { _innerBehavior.Invoke(); } }
protected override void invoke(Action action) { if (_condition.ShouldExecute()) { action(); } }
public bool MatchesRequest() { return(_condition.ShouldExecute()); }
public bool MatchesRequest(IFubuRequestContext context) { return(_condition.ShouldExecute(context)); }