示例#1
0
        public override object Clone()
        {
            RuleActions list = new RuleActions();

            foreach (RuleAction ra in this)
            {
                list.Add((RuleAction)ra.Clone());
            }

            return(list);
        }
示例#2
0
 private void AddRule(string tag, Action <string, List <Attr> > callback)
 {
     RuleActions.Add(tag, callback);
 }