mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
34 lines
834 B
C#
34 lines
834 B
C#
using System;
|
|
|
|
namespace RGB.NET.Devices.Novation.Attributes;
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Specifies the led id mapping of a field.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
internal sealed class LedIdMappingAttribute : Attribute
|
|
{
|
|
#region Properties & Fields
|
|
|
|
/// <summary>
|
|
/// Gets the led id mapping.
|
|
/// </summary>
|
|
internal LedIdMappings LedIdMapping { get; }
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="T:RGB.NET.Devices.Novation.Attributes.LedIdMappingAttribute" /> class.
|
|
/// </summary>
|
|
/// <param name="ledIdMapping">The led id mapping.</param>
|
|
internal LedIdMappingAttribute(LedIdMappings ledIdMapping)
|
|
{
|
|
this.LedIdMapping = ledIdMapping;
|
|
}
|
|
|
|
#endregion
|
|
} |