예제 #1
0
 public DeviceBatchManagementController(IEventQueueService eventQueueService,
                                        IOptions <CapBusOptions> capBusOptions,
                                        IDeviceService deviceService,
                                        ICurrent current,
                                        IDbContext dbContext,
                                        IConfiguration configuration,
                                        IMemoryCache memoryCache,
                                        IBackgroundJobManager backgroundJobManager,
                                        ILogger <DeviceBatchManagementController> logger,
                                        IMediator mediator,
                                        ICapPublisher capPublisher,
                                        TracerFactory tracerFactor,
                                        Tracer tracer,
                                        DbContextFactory dbContextFactory,
                                        ICache cache)
 {
     _eventQueueService    = eventQueueService;
     _capBusOptions        = capBusOptions?.Value;
     _deviceService        = deviceService;
     _current              = current;
     _dbContext            = dbContext;
     _configuration        = configuration;
     _logger               = logger;
     _backgroundJobManager = backgroundJobManager;
     _mediator             = mediator;
     _capBus               = capPublisher;
     _tracerFactory        = tracerFactor;
     _tracer               = tracer;
     _dbContextFactory     = dbContextFactory;
     _cache = cache;
 }
예제 #2
0
 public EasyCachingConsumerServiceSelector(CapBusOptions options, IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _options = options;
 }