DomDescriptionAttribute
This attribute is used to place a description on some object.
The description can then be read out at runtime.
using System;
using System.Runtime.CompilerServices;
namespace AngleSharp.Attributes
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)]
public sealed class DomDescriptionAttribute : Attribute
{
public string Description { get; }
public DomDescriptionAttribute(string description)
{
Description = description;
}
}
}