Esempio n. 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);
        }
Esempio n. 2
0
        public IFlowEngine NewBRE(IRulesDriver rulesDriver)
        {
            if (bref == null)
            {
                bref = new BREFactory();
            }

            return(bref.NewBRE(rulesDriver));
        }
Esempio n. 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);
            }
        }
Esempio n. 4
0
        public IFlowEngine NewBRE(IRulesDriver rulesDriver)
        {
            if (bref == null)	bref = new BREFactory();

            return bref.NewBRE(rulesDriver);
        }