network-resurrector/NetworkResurrector.WakeOnLa.../DependencyInjectionExtensio...

14 lines
379 B
C#

using Microsoft.Extensions.DependencyInjection;
using NetworkResurrector.Abstractions;
namespace NetworkResurrector.WakeOnLan.Nikeee
{
public static class DependencyInjectionExtensions
{
public static void AddWakeOnLanService(this IServiceCollection services)
{
services.AddScoped<IWakeOnLanService, WakeOnLanService>();
}
}
}