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