public RulesEngine(IRuleContextHandler <T> contextHandler) { if (contextHandler == null) { throw new RuleException("IRuleContextHandler object can not be null."); } _rules = new HashSet <Rule>(); _contextHandler = contextHandler; }
protected VoatRulesEngine(IRuleContextHandler <VoatRuleContext> handler) : base(handler) { }