using System;
using JetBrains.Annotations;
namespace F10.StreamDeckIntegration.Attributes {
///
/// Attribute to mark specific classes with all it's members as executable by Stream Deck.
///
[PublicAPI]
[MeansImplicitUse]
[AttributeUsage(AttributeTargets.Class)]
public class StreamDeckGroupAttribute : Attribute {
internal string Id { get; private set; }
///
/// Marks all the fields, properties and methods inside the class as executable by the Stream Deck.
///
/// Custom ID. Defaults to the name of the class.
public StreamDeckGroupAttribute(string id = null) {
Id = id;
}
}
}