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