UiInfoAttribute

AttributeReferences
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)] public sealed class UiInfoAttribute : Attribute
Assign this attribute to types or values if they are associated with a detailed info text.

Constructors

UiInfoAttribute

#
Create a new attribute.
public UiInfoAttribute(
info
)

Properties

Info

#
Gets the user-interface info.
public string Info { get; }

Methods

GetInfo

#
Extract the info (if any) attached to the given field.
public static string GetInfo(
field
)

GetInfo

#
Extract the info (if any) attached to the given type.
public static string GetInfo(
type
)