mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Added basic CoolerMaster support
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user