From beb228cc0530f86ec819c6808cd19d374d99ae71 Mon Sep 17 00:00:00 2001 From: "Krause, Henning" Date: Sat, 29 Aug 2020 13:51:16 +0200 Subject: [PATCH] Fixed issues from code review --- Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj | 1 - .../Client/Options/MqttClientOptionsBuilderTlsParameters.cs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj index 5af07ac..dc44208 100644 --- a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj +++ b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj @@ -23,7 +23,6 @@ - diff --git a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs index a012cb2..6f214eb 100644 --- a/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs +++ b/Source/MQTTnet/Client/Options/MqttClientOptionsBuilderTlsParameters.cs @@ -27,9 +27,9 @@ namespace MQTTnet.Client.Options public IEnumerable Certificates { get; set; } #endif - #if NETCOREAPP3_1 - public List ApplicationProtocols {get;set;} - #endif +#if NETCOREAPP3_1 + public List ApplicationProtocols { get;set; } +#endif public bool AllowUntrustedCertificates { get; set; }