mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Added deviceprovider-loader to all projects
This commit is contained in:
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.Corsair
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a device provider loaded used to dynamically load corsair devices into an application.
|
||||
/// </summary>
|
||||
public class CorsairDeviceProviderLoader : IRGBDeviceProviderLoader<CorsairDeviceProviderLoader>
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool RequiresInitialization => false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <inheritdoc />
|
||||
public IRGBDeviceProvider GetDeviceProvider() => CorsairDeviceProvider.Instance;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -46,6 +46,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CorsairDeviceProvider.cs" />
|
||||
<Compile Include="CorsairDeviceProviderLoader.cs" />
|
||||
<Compile Include="Enum\CorsairAccessMode.cs" />
|
||||
<Compile Include="Enum\CorsairDeviceCaps.cs" />
|
||||
<Compile Include="Enum\CorsairDeviceType.cs" />
|
||||
|
||||
Reference in new issue
Block a user