15 lines
425 B
C#
15 lines
425 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using NetworkResurrector.Abstractions;
|
|
|
|
namespace NetworkResurrector.WakeOnLan.Inhouse
|
|
{
|
|
public static class DependencyInjectionExtensions
|
|
{
|
|
public static void AddWakeOnLanInhouseService(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<WolClient>();
|
|
services.AddScoped<IWakeOnLanService, WolDriver>();
|
|
}
|
|
}
|
|
}
|