5 writes to UpdateState
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
2172
commandOptions.
UpdateState
= context => targetRunning ? ResourceCommandState.Enabled : ResourceCommandState.Disabled;
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
322
UpdateState
= UpdateStateDesktop,
332
UpdateState
= context => UpdateStateWeb(resourceBuilder, context),
Aspire.Hosting.Tests (2)
Dashboard\DashboardServiceTests.cs (1)
159
UpdateState
= c => Aspire.Hosting.ApplicationModel.ResourceCommandState.Enabled,
WithHttpCommandTests.cs (1)
441
UpdateState
= usc =>
2 references to UpdateState
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
1912
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));
2152
if (commandOptions.
UpdateState
is null)