HtmlForgeX

API Reference

Class

IconNameAttribute

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Attribute
Modifiers sealed
Attributes
AttributeUsage(256, AllowMultiple = false, Inherited = false)

Specifies the Font Awesome icon name (kebab-case) for an enum value

Inheritance

  • Attribute
  • IconNameAttribute

Constructors

public IconNameAttribute(String name) #

Initializes a new instance of the IconNameAttribute class

Parameters

name System.String requiredposition: 0
The Font Awesome icon name (e.g., "address-book", "github")

Properties

public String Name { get; } #

Gets the Font Awesome icon name