65 writes to Disabled
Aspire.Hosting (9)
ApplicationModel\ResourceCommandService.cs (1)
813Disabled = input.Disabled,
Ats\InteractionExports.cs (2)
268Disabled = input.Disabled, 319Disabled = options?.Disabled ?? false,
Orchestrator\ParameterProcessor.cs (5)
245Disabled = !userSecretsManager.IsAvailable, 283Disabled = !userSecretsManager.IsAvailable, 291context.Input.Disabled = true; 295context.Input.Disabled = parameterSection.Data.Count == 0; 425Disabled = !userSecretsManager.IsAvailable
ParameterResourceBuilderExtensions.cs (1)
275Disabled = options.Disabled ?? false,
Aspire.Hosting.Azure (17)
AzureProvisioningController.cs (10)
284Disabled = true, 305Disabled = true, 323Disabled = true, 341Disabled = true, 363Disabled = true, 406context.Input.Disabled = false; 439context.Input.Disabled = false; 467context.Input.Disabled = false; 497context.Input.Disabled = true; 520context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (7)
369Disabled = includeTenantInput || !allowSubscriptionEdit, 387context.Input.Disabled = false; 403Disabled = false, 431context.Input.Disabled = false; 444Disabled = false, 463context.Input.Disabled = true; 470context.Input.Disabled = false;
Aspire.Hosting.Azure.Tests (3)
AzureEnvironmentResourceExtensionsTests.cs (3)
253subscriptionInput.Disabled = true; 293locationInput.Disabled = true; 5008Disabled = input.Disabled,
Aspire.Hosting.Browsers (2)
BrowserLogsConfigurationManager.cs (2)
134Disabled = !userSecretsAvailable 253context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (2)
134Disabled = !userSecretsAvailable 253context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Tests (15)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
226Disabled = true, 2527Disabled = true, 2533context.Input.Disabled = context.AllInputs.GetString("category") is not "fruit";
ResourceCommandServiceTests.cs (12)
819Disabled = true 851Disabled = true, 857context.Input.Disabled = false; 892Disabled = true 1078Disabled = true, 1084context.Input.Disabled = false; 1095Disabled = true, 1101context.Input.Disabled = false; 1169Disabled = true, 1175context.Input.Disabled = true; 1353context.Input.Disabled = !context.AllInputs.GetBoolean("generateTraces"); 1372interaction.Inputs["traceCount"].Disabled = true;
Stress.AppHost (17)
CommandResources.cs (5)
411Disabled = true, 420context.Input.Disabled = string.IsNullOrEmpty(category); 461Disabled = true, 471context.Input.Disabled = string.IsNullOrEmpty(item); 1296context.Input.Disabled = !bool.TryParse(context.AllInputs.GetString(inputName), out var enabled) || !enabled;
InteractionCommands.cs (12)
331context.Input.Disabled = false; 336context.Input.Disabled = true; 348Disabled = true, 359Disabled = true, 368Disabled = true, 634Disabled = true, 643context.Input.Disabled = false; 672Disabled = true, 685context.Input.Disabled = false; 703Disabled = true, 723context.Input.Disabled = true; 741context.Input.Disabled = false;
35 references to Disabled
Aspire.Hosting (7)
ApplicationModel\ResourceCommandService.cs (3)
569return argument.Disabled && argument.DynamicLoading is null; 592if (argument.Disabled) 813Disabled = input.Disabled,
Ats\InteractionExports.cs (1)
268Disabled = input.Disabled,
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1380Disabled = input.Disabled,
Dashboard\DashboardService.cs (1)
205Disabled = input.Disabled
Pipelines\PipelineActivityReporter.cs (1)
351Disabled = input.Disabled,
Aspire.Hosting.Azure.Tests (21)
AzureEnvironmentResourceExtensionsTests.cs (16)
131Assert.True(input.Disabled); 141Assert.True(input.Disabled); 152Assert.True(input.Disabled); 163Assert.True(input.Disabled); 189Assert.True(tenantInput.Disabled); 193Assert.False(tenantInput.Disabled); 198Assert.True(subscriptionInput.Disabled); 203Assert.False(subscriptionInput.Disabled); 208Assert.True(resourceGroupInput.Disabled); 212Assert.False(resourceGroupInput.Disabled); 217Assert.True(locationInput.Disabled); 221Assert.True(locationInput.Disabled); 257Assert.False(subscriptionInput.Disabled); 297Assert.False(locationInput.Disabled); 666Assert.True(locationArgument.Disabled); 5008Disabled = input.Disabled,
ProvisioningContextProviderTests.cs (5)
517Assert.True(input.Disabled); 647Assert.True(subscriptionInput.Disabled, "Subscription ID input should be disabled initially when not configured"); 739Assert.True(subscriptionInput.Disabled); 751Assert.False(subscriptionInput.Disabled, "Subscription ID input should be enabled after tenant selection"); 795Assert.True(subscriptionInput.Disabled, "Subscription ID input should start disabled until tenant selection");
Aspire.Hosting.Browsers.Tests (2)
BrowserLogsBuilderExtensionsTests.cs (2)
168Assert.False(profileInput.Disabled); 195Assert.True(saveInput.Disabled);
Aspire.Hosting.Tests (5)
Orchestrator\ParameterProcessorTests.cs (4)
540Assert.True(saveCheckbox.Disabled); // Should be disabled when user secrets not available 579Assert.False(saveCheckbox.Disabled); // Should be enabled when user secrets are available 1036Assert.True(deleteInput.Disabled); 1068Assert.False(deleteInput.Disabled);
ResourceCommandServiceTests.cs (1)
1381Assert.True(capturedArguments["traceCount"].Disabled);