You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
337 B
C#
16 lines
337 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SlnMesnac.Mqtt
|
|
{
|
|
public static class MqttSetup
|
|
{
|
|
public static void AddMqttSetup(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<MqttClient>();
|
|
}
|
|
}
|
|
}
|