Added basic CoolerMaster support

This commit is contained in:
DarthAffe committed 2017-04-02 11:41:32 +02:00
1 parent 8446b9a47b
commit 8cc4688932
23 files changed
+1220 -2

No files matched your search

@@ -0,0 +1,34 @@
using System;
using RGB.NET.Core;
namespace RGB.NET.Devices.CoolerMaster.Attributes
{
/// <summary>
/// Specifies the <see cref="RGBDeviceType"/> of a field.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class DeviceTypeAttribute : Attribute
{
#region Properties & Fields
/// <summary>
/// Gets the <see cref="RGBDeviceType"/>.
/// </summary>
public RGBDeviceType DeviceType { get; }
#endregion
#region Constructors
/// <summary>
/// Internal constructor of the <see cref="DeviceTypeAttribute"/> class.
/// </summary>
/// <param name="deviceType">The <see cref="RGBDeviceType"/>.</param>
public DeviceTypeAttribute(RGBDeviceType deviceType)
{
this.DeviceType = deviceType;
}
#endregion
}
}