mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Fixed some code-issues in novation-library
This commit is contained in:
1 parent
b642cd31b0
commit
5440f9844f
11 files changed
+106
-42
No files matched your search
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
|
||||
namespace RGB.NET.Devices.Novation.Attributes
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the device-id of a field.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public class DeviceIdAttribute : Attribute
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the Id.
|
||||
/// </summary>
|
||||
public string Id { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DeviceIdAttribute"/> class.
|
||||
/// </summary>
|
||||
/// <param name="id">The id.</param>
|
||||
public DeviceIdAttribute(string id)
|
||||
{
|
||||
this.Id = id;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user