コード例 #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);
            }
        }