public MqttConnectionWatchdog(IMediator mediator, IMqttClient client, MqttBrokerConfiguration configuration) { Mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); Client = client ?? throw new ArgumentNullException(nameof(client)); Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }
public MqttClientConnectedHandler(IMediator mediator, MqttBrokerConfiguration configuration) { Mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); }