Class DescriptionAttribute
An attribute for providing a description against a property, field or interface.
Used against enum values for tooltips in the UI
Inherited Members
Namespace: LemonEdge.Utils
Assembly: LemonEdge.Utils.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface)]
public sealed class DescriptionAttribute : Attribute
Constructors
DescriptionAttribute(string)
Marks with a new attribute with the specified description
Declaration
public DescriptionAttribute(string description)
Parameters
Type | Name | Description |
---|---|---|
string | description |
Properties
Description
The description for this property, field or interface
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |