コード例 #1
0
        public IEventProcessor CreateEventProcessor(PartitionContext context)
        {
            var processor = new ActionProcessor(
                _actionLogic,
                _actionMappingLogic,
                _configurationProvider);

            processor.ProcessorClosed += this.ProcessorOnProcessorClosed;
            _eventProcessors.TryAdd(context.Lease.PartitionId, processor);
            return processor;
        }
コード例 #2
0
        public IEventProcessor CreateEventProcessor(PartitionContext context)
        {
            var processor = new ActionProcessor(
                _actionLogic,
                _actionMappingLogic,
                _configurationProvider);

            processor.ProcessorClosed += this.ProcessorOnProcessorClosed;
            _eventProcessors.TryAdd(context.Lease.PartitionId, processor);
            return(processor);
        }