using System; using JetBrains.Annotations; namespace F10.StreamDeckIntegration.Attributes { /// /// Attribute to mark specific methods as executable by Stream Deck dials. /// [PublicAPI] [MeansImplicitUse] [AttributeUsage(AttributeTargets.Method)] public class StreamDeckDialAttribute : 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 StreamDeckDialAttribute(string id = null) { Id = id; } } }