dotnet / MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
MIT License
4.5k stars 1.07k forks source link

MqttClientFactory: Fix CreateLowLevelMqttClient not using method parameters #2110

Open xljiulang opened 6 days ago

xljiulang commented 6 days ago
  1. Removed sealed modifier.
  2. Added .ctor(IMqttNetLogger, IMqttClientAdapterFactory) to suit dependency injection
  3. Removed UseClientAdapterFactory(IMqttClientAdapterFactory) method.
  4. Fixed issue with CreateLowLevelMqttClient(IMqttClientAdapterFactory) not using parameters.