Added deviceprovider-loader to all projects

This commit is contained in:
DarthAffe committed 2018-01-29 12:58:36 +01:00
1 parent 573ca419f9
commit 5e347db063
20 files changed
+247

No files matched your search

@@ -0,0 +1,24 @@
using RGB.NET.Core;
namespace RGB.NET.Devices.Novation
{
/// <summary>
/// Represents a device provider loaded used to dynamically load novation devices into an application.
/// </summary>
public class NovationDeviceProviderLoader : IRGBDeviceProviderLoader<NovationDeviceProviderLoader>
{
#region Properties & Fields
/// <inheritdoc />
public bool RequiresInitialization => false;
#endregion
#region Methods
/// <inheritdoc />
public IRGBDeviceProvider GetDeviceProvider() => NovationDeviceProvider.Instance;
#endregion
}
}
@@ -64,6 +64,7 @@
<Compile Include="Launchpad\NovationLaunchpadRGBDevice.cs" />
<Compile Include="Launchpad\NovationLaunchpadRGBDeviceInfo.cs" />
<Compile Include="NovationDeviceProvider.cs" />
<Compile Include="NovationDeviceProviderLoader.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup />