Skip to content
DocsTry Aspire
DocsTry

ResourceIconAnnotation Constructors

ClassConstructors1 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)
{
// ...
}
}
iconNamestringThe name of the FluentUI icon to use.
iconVariantIconVariantoptionalThe variant of the icon (Regular or Filled).