using System;
using JetBrains.Annotations;
namespace F10.StreamDeckIntegration.Attributes {
///
/// Attribute to mark specific fields, properties and / or methods as executable by Stream Deck.
///
[PublicAPI]
[MeansImplicitUse]
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
public class StreamDeckButtonAttribute : Attribute {
internal string Id { get; private set; }
///
/// Marks this field, property or method as executable by the Stream Deck.
///
/// Custom ID. Defaults to the name of the member.
public StreamDeckButtonAttribute(string id = null) {
Id = id;
}
}
}