73 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)
242Disabled = !userSecretsManager.IsAvailable, 280Disabled = !userSecretsManager.IsAvailable, 288context.Input.Disabled = true; 292context.Input.Disabled = parameterSection.Data.Count == 0; 422Disabled = !userSecretsManager.IsAvailable
ParameterResourceBuilderExtensions.cs (1)
273Disabled = options.Disabled ?? false,
Aspire.Hosting.Azure (17)
AzureProvisioningController.cs (10)
281Disabled = true, 302Disabled = true, 320Disabled = true, 338Disabled = true, 360Disabled = true, 403context.Input.Disabled = false; 436context.Input.Disabled = false; 464context.Input.Disabled = false; 494context.Input.Disabled = true; 517context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (7)
367Disabled = includeTenantInput || !allowSubscriptionEdit, 385context.Input.Disabled = false; 401Disabled = false, 429context.Input.Disabled = false; 442Disabled = false, 461context.Input.Disabled = true; 468context.Input.Disabled = false;
Aspire.Hosting.Azure.Tests (3)
AzureEnvironmentResourceExtensionsTests.cs (3)
250subscriptionInput.Disabled = true; 290locationInput.Disabled = true; 5017Disabled = input.Disabled,
Aspire.Hosting.Browsers (2)
BrowserLogsConfigurationManager.cs (2)
133Disabled = !userSecretsAvailable 252context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (2)
133Disabled = !userSecretsAvailable 252context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Tests (16)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
226Disabled = true, 2527Disabled = true, 2533context.Input.Disabled = context.AllInputs.GetString("category") is not "fruit";
ResourceCommandServiceTests.cs (13)
820Disabled = true 852Disabled = true, 858context.Input.Disabled = false; 893Disabled = true 1079Disabled = true, 1085context.Input.Disabled = false; 1096Disabled = true, 1102context.Input.Disabled = false; 1170Disabled = true, 1176context.Input.Disabled = true; 1378input.Disabled = true; 1456context.Input.Disabled = !context.AllInputs.GetBoolean("generateTraces"); 1475interaction.Inputs["traceCount"].Disabled = true;
Stress.AppHost (24)
CommandResources.cs (5)
411Disabled = true, 420context.Input.Disabled = string.IsNullOrEmpty(category); 461Disabled = true, 471context.Input.Disabled = string.IsNullOrEmpty(item); 1373context.Input.Disabled = !bool.TryParse(context.AllInputs.GetString(inputName), out var enabled) || !enabled;
InteractionCommands.cs (19)
290Disabled = true 299Disabled = true 310Disabled = true 321Disabled = true 330Disabled = true 339Disabled = true 348Disabled = true 412context.Input.Disabled = false; 417context.Input.Disabled = true; 429Disabled = true, 440Disabled = true, 449Disabled = true, 715Disabled = true, 724context.Input.Disabled = false; 753Disabled = true, 766context.Input.Disabled = false; 784Disabled = true, 804context.Input.Disabled = true; 822context.Input.Disabled = false;
37 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)
1402Disabled = input.Disabled,
Dashboard\DashboardService.cs (1)
228Disabled = input.Disabled
Pipelines\PipelineActivityReporter.cs (1)
349Disabled = input.Disabled,
Aspire.Hosting.Azure.Tests (21)
AzureEnvironmentResourceExtensionsTests.cs (16)
128Assert.True(input.Disabled); 138Assert.True(input.Disabled); 149Assert.True(input.Disabled); 160Assert.True(input.Disabled); 186Assert.True(tenantInput.Disabled); 190Assert.False(tenantInput.Disabled); 195Assert.True(subscriptionInput.Disabled); 200Assert.False(subscriptionInput.Disabled); 205Assert.True(resourceGroupInput.Disabled); 209Assert.False(resourceGroupInput.Disabled); 214Assert.True(locationInput.Disabled); 218Assert.True(locationInput.Disabled); 254Assert.False(subscriptionInput.Disabled); 294Assert.False(locationInput.Disabled); 663Assert.True(locationArgument.Disabled); 5017Disabled = input.Disabled,
ProvisioningContextProviderTests.cs (5)
514Assert.True(input.Disabled); 644Assert.True(subscriptionInput.Disabled, "Subscription ID input should be disabled initially when not configured"); 736Assert.True(subscriptionInput.Disabled); 748Assert.False(subscriptionInput.Disabled, "Subscription ID input should be enabled after tenant selection"); 792Assert.True(subscriptionInput.Disabled, "Subscription ID input should start disabled until tenant selection");
Aspire.Hosting.Browsers.Tests (2)
BrowserLogsBuilderExtensionsTests.cs (2)
167Assert.False(profileInput.Disabled); 194Assert.True(saveInput.Disabled);
Aspire.Hosting.Tests (7)
Orchestrator\ParameterProcessorTests.cs (4)
538Assert.True(saveCheckbox.Disabled); // Should be disabled when user secrets not available 577Assert.False(saveCheckbox.Disabled); // Should be enabled when user secrets are available 1034Assert.True(deleteInput.Disabled); 1066Assert.False(deleteInput.Disabled);
ResourceCommandServiceTests.cs (3)
1375Assert.False(input.Disabled); 1408Assert.False(textDefinition.Disabled); 1484Assert.True(capturedArguments["traceCount"].Disabled);