diff --git a/NetworkResurrector.WakeOnLan.Nikeee/Class1.cs b/NetworkResurrector.WakeOnLan.Nikeee/Class1.cs deleted file mode 100644 index 50d272a..0000000 --- a/NetworkResurrector.WakeOnLan.Nikeee/Class1.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace NetworkResurrector.WakeOnLan.Nikeee -{ - public class Class1 - { - } -} diff --git a/NetworkResurrector.WakeOnLan.Nikeee/DependencyInjectionExtensions.cs b/NetworkResurrector.WakeOnLan.Nikeee/DependencyInjectionExtensions.cs new file mode 100644 index 0000000..0176920 --- /dev/null +++ b/NetworkResurrector.WakeOnLan.Nikeee/DependencyInjectionExtensions.cs @@ -0,0 +1,13 @@ +using Microsoft.Extensions.DependencyInjection; +using NetworkResurrector.Abstractions; + +namespace NetworkResurrector.WakeOnLan.Nikeee +{ + public static class DependencyInjectionExtensions + { + public static void AddWakeOnLanService(this IServiceCollection services) + { + services.AddScoped(); + } + } +} diff --git a/NetworkResurrector.WakeOnLan.Nikeee/NetworkResurrector.WakeOnLan.Nikeee.csproj b/NetworkResurrector.WakeOnLan.Nikeee/NetworkResurrector.WakeOnLan.Nikeee.csproj index 9f5c4f4..cd8f6b3 100644 --- a/NetworkResurrector.WakeOnLan.Nikeee/NetworkResurrector.WakeOnLan.Nikeee.csproj +++ b/NetworkResurrector.WakeOnLan.Nikeee/NetworkResurrector.WakeOnLan.Nikeee.csproj @@ -4,4 +4,14 @@ netstandard2.0 + + + + + + + + + + diff --git a/NetworkResurrector.WakeOnLan.Nikeee/WakeOnLanService.cs b/NetworkResurrector.WakeOnLan.Nikeee/WakeOnLanService.cs new file mode 100644 index 0000000..55f874c --- /dev/null +++ b/NetworkResurrector.WakeOnLan.Nikeee/WakeOnLanService.cs @@ -0,0 +1,14 @@ +using NetworkResurrector.Abstractions; +using System; +using System.Threading.Tasks; + +namespace NetworkResurrector.WakeOnLan.Nikeee +{ + public class WakeOnLanService : IWakeOnLanService + { + public Task<(bool success, string message)> Wake(string macAddress) + { + throw new NotImplementedException(); + } + } +}