Example #1
0
 /// <summary>
 /// method is used to fire an activation immediately
 /// </summary>
 /// <param name="act">The act.</param>
 protected internal virtual void fireActivation(IActivation act)
 {
     if (act != null)
     {
         try
         {
             pushScope(act.Rule);
             act.executeActivation(this);
             //act.clear(); TODO HACK
             popScope();
             firingcount++;
             addRuleFired(act.Rule);
             act.clear();
         }
         catch (ExecuteException e)
         {
             TraceLogger.Instance.Debug(e);
         }
     }
 }