mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
Removed some %^&#ing $@#! comments. Gosh darnit.
This commit is contained in:
@@ -13,8 +13,6 @@ namespace MQTTnet
|
||||
if (options == null) throw new ArgumentNullException(nameof(options));
|
||||
|
||||
return new MqttClient(options,
|
||||
// The cast to IMqttCommunicationChannel is required... Roslyn is too stupid to
|
||||
// figure out how to cast back to the base type
|
||||
new MqttChannelCommunicationAdapter(options.UseSSL ? new MqttClientSslChannel() : (IMqttCommunicationChannel) new MqttTcpChannel(),
|
||||
new DefaultMqttV311PacketSerializer()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user