示例#1
0
        public void RegisterRule(TreeRuleDelegate test, string name, string group)
        {
            if (test != null && !string.IsNullOrEmpty(name) && !string.IsNullOrEmpty(group))
            {
                RegisterRule(new TreeRule()
                {
                    Test  = test,
                    Name  = name,
                    Group = group
                }

                             );
            }
        }
示例#2
0
 public void RegisterRule(TreeRuleDelegate test, string name, string group)
 {
     _treeValidator.RegisterRule(test, name, group);
 }
示例#3
0
 public void RegisterRule(TreeRuleDelegate test, string name, string group)
 {
     m_treeValidator.RegisterRule(test, name, group);
 }
        public void RegisterRule(TreeRuleDelegate test, string name, string group)
        {
            if (test != null && !string.IsNullOrEmpty(name) && !string.IsNullOrEmpty(group))
            {
                RegisterRule(new TreeRule()
                {
                    Test = test,
                    Name = name,
                    Group = group
                }

                );
            }
        }