Started on RGB.NET implementation

This commit is contained in:
SpoinkyNL committed 2018-01-09 00:09:22 +01:00
1 parent 3bea4463dc
commit 4f146865a4
6 files changed
+153 -12

No files matched your search

+4 -2
View File
@@ -6,10 +6,12 @@ namespace Artemis.Core.Services
public class CoreService : ICoreService
{
private readonly IPluginService _pluginService;
private readonly IDeviceService _deviceService;
public CoreService(IPluginService pluginService)
public CoreService(IPluginService pluginService, IDeviceService deviceService)
{
_pluginService = pluginService;
_deviceService = deviceService;
Task.Run(Initialize);
}
@@ -23,7 +25,7 @@ namespace Artemis.Core.Services
private async Task Initialize()
{
await _pluginService.LoadPlugins();
await _deviceService.LoadDevices();
IsInitialized = true;
}
}