Exemple #1
0
 public static void AddWatcher(RuleComponent del)
 {
     foreach (RuleComponent rule in WatcherList)
     {
         if (rule.Entity.Name == del.Entity.Name)
         {
             return;
         }
     }
     WatcherList.Add(del);
 }
Exemple #2
0
 public static void RemoveEngineWatcher(RuleComponent del, EngineMessage msg)
 {
     RemoveEngineList.Add(del, msg);
 }
Exemple #3
0
 public static void RemoveWatcher(RuleComponent del, RuleComponent.ActionFunction action)
 {
     RemoveList.Add(del, action);
 }