using System; namespace OpenTap { /// Icon annotation, for giving a name of an icon associated with a setting. This is optionally supported by GUIs. public interface IIconAnnotation : IAnnotation { /// The name of the Icon. e.g OpenFile string IconName { get; } } /// Icon Annotation attribute. for attaching icon information to a setting. public class IconAnnotationAttribute : Attribute, IIconAnnotation { /// The name of the Icon. public string IconName { get; } /// Create a new instance of IconAnnotationAttribute. /// public IconAnnotationAttribute(string iconName) => IconName = iconName; } }