Dela via


ResourceIconAnnotation Class

Definition

Specifies the icon to use when displaying a resource in the dashboard.

public sealed class ResourceIconAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ResourceIconAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ResourceIconAnnotation
Implements IResourceAnnotation
Inheritance
ResourceIconAnnotation
Implements

Constructors

ResourceIconAnnotation(String, IconVariant)

Specifies the icon to use when displaying a resource in the dashboard.

Properties

IconName

Gets the name of the FluentUI icon to use for the resource.

IconVariant

Gets the variant of the icon (Regular or Filled).

Applies to