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