network-resurrector/NetworkResurrector.Api/Extensions/WakeOnLanExtensions.cs

15 lines
402 B
C#
Raw Normal View History

2020-11-25 17:01:14 +02:00
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NetworkResurrector.WakeOnLan;
namespace NetworkResurrector.Api.Extensions
{
public static class WakeOnLanExtensions
{
public static void AddWakeOnLan(this IServiceCollection services, IConfiguration configuration)
{
services.AddWakeOnLanService();
}
}
}