25 writes to UpdateState
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
3021target.UpdateState = source.UpdateState; 3700commandOptions.UpdateState = context =>
Aspire.Hosting.Azure (2)
AzureEnvironmentResourceExtensions.cs (1)
67UpdateState = context => context.Services.GetRequiredService<AzureProvisioningController>().GetEnvironmentCommandState()
AzureResourcePreparer.cs (1)
92UpdateState = context => context.Services.GetRequiredService<AzureProvisioningController>().GetResourceCommandState(resource.Resource.Name, command.Command, context)
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
343UpdateState = UpdateStateDesktop, 353UpdateState = context => UpdateStateWeb(resourceBuilder, context),
Aspire.Hosting.Blazor (2)
BrowserDebuggerHelper.cs (2)
208UpdateState = ctx => 267UpdateState = ctx =>
Aspire.Hosting.Browsers (3)
BrowserLogsBuilderExtensions.cs (3)
177UpdateState = context => 224UpdateState = context => 276UpdateState = context =>
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (3)
177UpdateState = context => 224UpdateState = context => 276UpdateState = context =>
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
617UpdateState = context =>
Aspire.Hosting.EntityFrameworkCore (6)
EFResourceBuilderExtensions.cs (6)
704UpdateState = context => GetCommandState(context, migrationResource) 721UpdateState = context => GetCommandState(context, migrationResource) 738UpdateState = context => GetCommandState(context, migrationResource) 750UpdateState = context => GetCommandState(context, migrationResource), 773UpdateState = context => GetCommandState(context, migrationResource) 785UpdateState = context => GetCommandState(context, migrationResource)
Aspire.Hosting.Tests (4)
Dashboard\DashboardServiceTests.cs (3)
165UpdateState = c => Hosting.ApplicationModel.ResourceCommandState.Enabled, 192UpdateState = c => Hosting.ApplicationModel.ResourceCommandState.Enabled, 201UpdateState = c => (Hosting.ApplicationModel.ResourceCommandState)999
WithHttpCommandTests.cs (1)
994UpdateState = usc =>
4 references to UpdateState
Aspire.Hosting (3)
ResourceBuilderExtensions.cs (3)
2935return builder.WithAnnotation(new ResourceCommandAnnotation(name, displayName, commandOptions.UpdateState ?? (c => ResourceCommandState.Enabled), executeCommand, commandOptions.Description, commandOptions.Parameter, commandOptions.Arguments, commandOptions.ConfirmationMessage, commandOptions.IconName, commandOptions.IconVariant, commandOptions.IsHighlighted, commandOptions.Visibility, commandOptions.ValidateArguments, commandOptions.Progress)); 3021target.UpdateState = source.UpdateState; 3698if (commandOptions.UpdateState is null)
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
116commandOptions.UpdateState ?? (_ => ResourceCommandState.Enabled),