Esempio n. 1
0
        public MqttTopicImporter(MqttImportTopicParameters parameters, MqttService mqttService, bool enableMqttLogging, ILogger logger)
        {
            _parameters  = parameters ?? throw new ArgumentNullException(nameof(parameters));
            _mqttService = mqttService ?? throw new ArgumentNullException(nameof(mqttService));
            _logger      = logger ?? throw new ArgumentNullException(nameof(logger));

            _enableMqttLogging = enableMqttLogging;
        }
Esempio n. 2
0
 public MqttServicePythonProxy(MqttService mqttService)
 {
     _mqttService = mqttService ?? throw new ArgumentNullException(nameof(mqttService));
 }
 public MqttTopicImportManager(MqttService mqttService, ILogger logger)
 {
     _mqttService = mqttService ?? throw new ArgumentNullException(nameof(mqttService));
     _logger      = logger ?? throw new ArgumentNullException(nameof(logger));
 }