Example #1
0
        public BRECloneFactory(IRulesDriver rulesDriver, DispatchRuleResult resultHandler)
        {
            if (rulesDriver == null)
                throw new BREException("A non-null IRulesDriver must be passed to BRECloneFactory");

            this.rulesDriver = rulesDriver;

            if (bref == null)	bref = new BREFactory(resultHandler);
        }
Example #2
0
        public IFlowEngine NewBRE(IRulesDriver rulesDriver)
        {
            if (bref == null)
            {
                bref = new BREFactory();
            }

            return(bref.NewBRE(rulesDriver));
        }
Example #3
0
        public BRECloneFactory(IRulesDriver rulesDriver, DispatchRuleResult resultHandler)
        {
            if (rulesDriver == null)
            {
                throw new BREException("A non-null IRulesDriver must be passed to BRECloneFactory");
            }

            this.rulesDriver = rulesDriver;

            if (bref == null)
            {
                bref = new BREFactory(resultHandler);
            }
        }
Example #4
0
        public IFlowEngine NewBRE(IRulesDriver rulesDriver)
        {
            if (bref == null)	bref = new BREFactory();

            return bref.NewBRE(rulesDriver);
        }