예제 #1
0
        public void RuleFiring(Activation activation)
        {
            var handler = RuleFiringEvent;

            if (handler != null)
            {
                var @event = new AgendaEventArgs(activation.Rule, activation.Tuple);
                handler(this, @event);
            }
        }
예제 #2
0
        public void ActivationDeleted(Activation activation)
        {
            var handler = ActivationDeletedEvent;

            if (handler != null)
            {
                var @event = new AgendaEventArgs(activation.Rule, activation.Tuple);
                handler(this, @event);
            }
        }