Fixed some code-issues in novation-library

This commit is contained in:
DarthAffe committed 2017-08-16 19:56:15 +02:00
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
}
}