Skip to content
Docs Try Aspire

ResourceIconAnnotation Constructors

Class Constructors 1 member
Specifies the icon to use when displaying a resource in the dashboard.
Constructor(string, IconVariant) Section titled Constructor(string, IconVariant)
Specifies the icon to use when displaying a resource in the dashboard.
public sealed class ResourceIconAnnotation
{
public ResourceIconAnnotation(
string iconName,
IconVariant iconVariant = IconVariant.Filled)
{
// ...
}
}
iconName string The name of the FluentUI icon to use.
iconVariant IconVariant optional The variant of the icon (Regular or Filled).