Example #1
0
        public BulkRulesService(IBulkRulesManager bulkRulesManagerMgr)
        {
            if (bulkRulesManagerMgr == null)
            {
                throw new ArgumentNullException("bulkRulesManagerMgr");
            }

            _bulkRulesManagerMgr = bulkRulesManagerMgr;
            _log     = LogManager.GetLogger(BlLog.EventProcessingLog);
            _wcfCall = new WcfCall();
        }
Example #2
0
        public RuleService(IEventProcessor adapter)
        {
            if (adapter == null)
            {
                throw new ArgumentNullException("adapter");
            }

            _adapter = adapter;
            _log     = LogManager.GetLogger(BlLog.EventProcessingLog);
            _wcfCall = new WcfCall();
        }