using System; namespace PepperDash.Essentials.Core { /// /// Represents a description attribute for a device. /// [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)] public class DescriptionAttribute : Attribute { private string _Description; /// /// Represents a description attribute for a device. /// /// public DescriptionAttribute(string description) { //Debug.LogMessage(LogEventLevel.Verbose, "Setting Description: {0}", description); _Description = description; } /// /// Gets the description for the device. /// public string Description { get { return _Description; } } } }