소스 검색

Removed some %^&#ing $@#! comments. Gosh darnit.

release/3.x.x
Zazzmatazz 7 년 전
부모
커밋
8a65850f1a
3개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. +0
    -2
      Frameworks/MQTTnet.NetCoreApp/MqttClientFactory.cs
  2. +1
    -2
      Frameworks/MQTTnet.NetCoreApp/MqttServerFactory.cs
  3. +0
    -1
      Frameworks/MQTTnet.NetFramework/MqttServerFactory.cs

+ 0
- 2
Frameworks/MQTTnet.NetCoreApp/MqttClientFactory.cs 파일 보기

@@ -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()));
}


+ 1
- 2
Frameworks/MQTTnet.NetCoreApp/MqttServerFactory.cs 파일 보기

@@ -9,8 +9,7 @@ namespace MQTTnet
public MqttServer CreateMqttServer(MqttServerOptions options)
{
if (options == null) throw new ArgumentNullException(nameof(options));

// The cast to IMqttServerAdapter is required... stupidly...
return new MqttServer(options, options.UseSSL ? (IMqttServerAdapter)new MqttSslServerAdapter() : new MqttServerAdapter());
}
}


+ 0
- 1
Frameworks/MQTTnet.NetFramework/MqttServerFactory.cs 파일 보기

@@ -10,7 +10,6 @@ namespace MQTTnet
{
if (options == null) throw new ArgumentNullException(nameof(options));
// The cast to IMqttServerAdapter is required... stupidly...
return new MqttServer(options, options.UseSSL ? (IMqttServerAdapter) new MqttSslServerAdapter() : new MqttServerAdapter());
}
}


불러오는 중...
취소
저장