8 references to ResourceCommandAnnotation
Aspire.Hosting (8)
ApplicationModel\CommandsConfigurationExtensions.cs (4)
22resource.Annotations.Add(new ResourceCommandAnnotation( 55resource.Annotations.Add(new ResourceCommandAnnotation( 94resource.Annotations.Add(new ResourceCommandAnnotation( 152projectResource.Annotations.Add(new ResourceCommandAnnotation(
Orchestrator\ParameterProcessor.cs (2)
197parameterResource.Annotations.Add(new ResourceCommandAnnotation( 213parameterResource.Annotations.Add(new ResourceCommandAnnotation(
ResourceBuilderExtensions.cs (2)
2206return builder.WithAnnotation(new ResourceCommandAnnotation(name, displayName, commandOptions.UpdateState ?? (c => ResourceCommandState.Enabled), executeCommand, commandOptions.Description, commandOptions.Parameter, commandOptions.ConfirmationMessage, commandOptions.IconName, commandOptions.IconVariant, commandOptions.IsHighlighted)); 2271return builder.WithAnnotation(new ResourceCommandAnnotation(name, displayName, updateState ?? (c => ResourceCommandState.Enabled), executeCommand, displayDescription, parameter, confirmationMessage, iconName, iconVariant, isHighlighted));