From cd257b4d252a396f7801f55afc91db3bcea6f190 Mon Sep 17 00:00:00 2001 From: JanEggers Date: Thu, 5 Jul 2018 20:31:01 +0200 Subject: [PATCH] hide overload that does not provide options --- Source/MQTTnet.AspnetCore/ServiceCollectionExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet.AspnetCore/ServiceCollectionExtensions.cs b/Source/MQTTnet.AspnetCore/ServiceCollectionExtensions.cs index 8b65bbe..b5d0440 100644 --- a/Source/MQTTnet.AspnetCore/ServiceCollectionExtensions.cs +++ b/Source/MQTTnet.AspnetCore/ServiceCollectionExtensions.cs @@ -44,7 +44,7 @@ namespace MQTTnet.AspNetCore return services; } - public static IServiceCollection AddHostedMqttServer(this IServiceCollection services) + private static IServiceCollection AddHostedMqttServer(this IServiceCollection services) { var logger = new MqttNetLogger(); var childLogger = logger.CreateChildLogger();