Esempio n. 1
0
 public Rule(MWAction action, Dictionary <MWFieldNames, Regex> rules)
 {
     this.action = action;
     foreach (MWFieldNames name in rules.Keys)
     {
         AssignRule(name, rules[name]);
     }
 }
        protected void RegisterActionHandler(MWAction action, string name)
        {
            var handler = new BehaviorActionHandler(((IBehaviorHandler)this).BehaviorType, name, _appRef, _attachedActorId);

            action.Handler = handler;
        }