public void RuleFiring(Activation activation) { var handler = RuleFiringEvent; if (handler != null) { var @event = new AgendaEventArgs(activation.Rule, activation.Tuple); handler(this, @event); } }
public void ActivationDeleted(Activation activation) { var handler = ActivationDeletedEvent; if (handler != null) { var @event = new AgendaEventArgs(activation.Rule, activation.Tuple); handler(this, @event); } }