mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-10 02:05:08 +00:00
26 lines
639 B
C#
26 lines
639 B
C#
using System;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// Represents a description attribute for a device.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
|
|
public class DescriptionAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Represents a description attribute for a device.
|
|
/// </summary>
|
|
/// <param name="description"></param>
|
|
public DescriptionAttribute(string description)
|
|
{
|
|
Description = description;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the description for the device.
|
|
/// </summary>
|
|
public string Description { get; }
|
|
}
|
|
|
|
} |