2020-11-27 01:16:14 +02:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
2021-04-06 02:12:58 +03:00
|
|
|
|
using NetworkResurrector.Server.Abstractions;
|
2020-11-27 01:16:14 +02:00
|
|
|
|
|
|
|
|
|
namespace NetworkResurrector.WakeOnLan.Nikeee
|
|
|
|
|
{
|
|
|
|
|
public static class DependencyInjectionExtensions
|
|
|
|
|
{
|
2020-11-27 01:35:31 +02:00
|
|
|
|
public static void AddWakeOnLanNikeeeService(this IServiceCollection services)
|
2020-11-27 01:16:14 +02:00
|
|
|
|
{
|
|
|
|
|
services.AddScoped<IWakeOnLanService, WakeOnLanService>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|