mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Started on RGB.NET implementation
This commit is contained in:
1 parent
3bea4463dc
commit
4f146865a4
6 files changed
+153
-12
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user