コード例 #1
0
 /// <summary>
 /// DI Constructor
 /// </summary>
 public ResponsesController(ResponseDataManager responseDataManager,
                            IOptions <WebApiOptions> config, IMassTransitServiceBus serviceBusClient)
 {
     _config = config.Value;
     _responseDataManager = responseDataManager;
     _serviceBus          = serviceBusClient;
 }
コード例 #2
0
 /// <summary>
 /// DI Constructor
 /// </summary>
 public DevicesController(DevicesDataManager eventDataManager, EventClustersDataManager eventClustersDataManager,
                          IOptions <WebApiOptions> config, IMassTransitServiceBus serviceBus)
 {
     _config                   = config.Value;
     _devicesDataManager       = eventDataManager;
     _eventClustersDataManager = eventClustersDataManager;
     _serviceBus               = serviceBus;
 }
コード例 #3
0
 public MessageDispatcherService(IOptions <MessageDispatcherOptions> config,
                                 IAzureServiceBusClient azureBusManagerClient,
                                 IMassTransitServiceBus serviceBus, ILogger <MessageDispatcherService> logger)
 {
     _logger = logger;
     _azureBusManagerClient = azureBusManagerClient;
     _serviceBus            = serviceBus;
     _config = config.Value;
 }
コード例 #4
0
 public CommandMiddleware(IOptions <BotOptions> config, BotRoutingDataManager routingDataManager, IMassTransitServiceBus serviceBus,
                          IDeviceRestService deviceRestService, ChatReportDataManager reportDataManager, ILogger <CommandMiddleware> logger) : base(logger)
 {
     _config             = config.Value;
     _serviceBus         = serviceBus;
     _deviceRestService  = deviceRestService;
     _routingDataManager = routingDataManager;
     _reportDataManager  = reportDataManager;
     _logger             = logger;
 }
コード例 #5
0
 public ResponseActionLightSensorEventConsumer(IDeviceRestService deviceRestService,
                                               IResponseRestService responseRestService,
                                               IIoTHubControllerRestService iotHubControllerRestService,
                                               IMassTransitServiceBus serviceBus,
                                               ILogger <ResponseActionLightSensorEventConsumer> logger) : base(responseRestService, logger)
 {
     _deviceRestService           = deviceRestService;
     _iotHubControllerRestService = iotHubControllerRestService;
     _serviceBus = serviceBus;
 }
コード例 #6
0
 /// <summary>
 /// DI Constructor
 /// </summary>
 public IoTHubControllerDataManager(IMassTransitServiceBus serviceBus)
 {
     _serviceBus = serviceBus;
 }