Share via


ResourceCommandSnapshot Class

Definition

A snapshot of a resource command.

public sealed class ResourceCommandSnapshot : IEquatable<Aspire.Hosting.ApplicationModel.ResourceCommandSnapshot>
type ResourceCommandSnapshot = class
    interface IEquatable<ResourceCommandSnapshot>
Public NotInheritable Class ResourceCommandSnapshot
Implements IEquatable(Of ResourceCommandSnapshot)
Inheritance
ResourceCommandSnapshot
Implements

Constructors

ResourceCommandSnapshot(String, ResourceCommandState, String, String, Object, String, String, Nullable<IconVariant>, Boolean)

A snapshot of a resource command.

Properties

ConfirmationMessage

When a confirmation message is specified, the UI will prompt with an OK/Cancel dialog and the confirmation message before starting the command.

DisplayDescription

Optional description of the command, to be shown in the UI. Could be used as a tooltip. May be localized.

DisplayName

The display name visible in UI for the command.

IconName

The icon name for the command. The name should be a valid FluentUI icon name. https://aka.ms/fluentui-system-icons

IconVariant

The icon variant.

IsHighlighted

A flag indicating whether the command is highlighted in the UI.

Name

The name of command. The name uniquely identifies the command.

Parameter

Optional parameter that configures the command in some way. Clients must return any value provided by the server when invoking the command.

State

The state of the command.

Methods

<Clone>$()
Deconstruct(String, ResourceCommandState, String, String, Object, String, String, Nullable<IconVariant>, Boolean)
Equals(Object)
Equals(ResourceCommandSnapshot)
GetHashCode()
ToString()

Operators

Equality(ResourceCommandSnapshot, ResourceCommandSnapshot)
Inequality(ResourceCommandSnapshot, ResourceCommandSnapshot)

Applies to