75 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)
352Disabled = !userSecretsManager.IsAvailable, 390Disabled = !userSecretsManager.IsAvailable, 398context.Input.Disabled = true; 402context.Input.Disabled = parameterSection.Data.Count == 0; 536Disabled = !userSecretsManager.IsAvailable
ParameterResourceBuilderExtensions.cs (1)
305Disabled = options.Disabled ?? false,
Aspire.Hosting.Azure (19)
AzureProvisioningController.cs (12)
283Disabled = true, 304Disabled = true, 322Disabled = true, 340Disabled = true, 358Disabled = true, 368context.Input.Disabled = false; 385Disabled = true, 428context.Input.Disabled = false; 461context.Input.Disabled = false; 489context.Input.Disabled = false; 519context.Input.Disabled = true; 542context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (7)
380Disabled = includeTenantInput || !allowSubscriptionEdit, 398context.Input.Disabled = false; 414Disabled = false, 442context.Input.Disabled = false; 455Disabled = false, 474context.Input.Disabled = true; 481context.Input.Disabled = false;
Aspire.Hosting.Azure.Tests (3)
AzureEnvironmentResourceExtensionsTests.cs (3)
549subscriptionInput.Disabled = true; 589locationInput.Disabled = true; 5338Disabled = 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, 2569Disabled = true, 2575context.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)
412Disabled = true, 421context.Input.Disabled = string.IsNullOrEmpty(category); 462Disabled = true, 472context.Input.Disabled = string.IsNullOrEmpty(item); 1374context.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;
39 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)
1403Disabled = input.Disabled,
Dashboard\DashboardService.cs (1)
229Disabled = input.Disabled
Pipelines\PipelineActivityReporter.cs (1)
349Disabled = input.Disabled,
Aspire.Hosting.Azure.Tests (23)
AzureEnvironmentResourceExtensionsTests.cs (18)
281Assert.True(suffix.Disabled); 283Assert.False(suffix.Disabled); 427Assert.True(input.Disabled); 437Assert.True(input.Disabled); 448Assert.True(input.Disabled); 459Assert.True(input.Disabled); 485Assert.True(tenantInput.Disabled); 489Assert.False(tenantInput.Disabled); 494Assert.True(subscriptionInput.Disabled); 499Assert.False(subscriptionInput.Disabled); 504Assert.True(resourceGroupInput.Disabled); 508Assert.False(resourceGroupInput.Disabled); 513Assert.True(locationInput.Disabled); 517Assert.True(locationInput.Disabled); 553Assert.False(subscriptionInput.Disabled); 593Assert.False(locationInput.Disabled); 984Assert.True(locationArgument.Disabled); 5338Disabled = input.Disabled,
ProvisioningContextProviderTests.cs (5)
717Assert.True(input.Disabled); 849Assert.True(subscriptionInput.Disabled, "Subscription ID input should be disabled initially when not configured"); 943Assert.True(subscriptionInput.Disabled); 955Assert.False(subscriptionInput.Disabled, "Subscription ID input should be enabled after tenant selection"); 1000Assert.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)
701Assert.True(saveCheckbox.Disabled); // Should be disabled when user secrets not available 740Assert.False(saveCheckbox.Disabled); // Should be enabled when user secrets are available 1197Assert.True(deleteInput.Disabled); 1229Assert.False(deleteInput.Disabled);
ResourceCommandServiceTests.cs (3)
1375Assert.False(input.Disabled); 1408Assert.False(textDefinition.Disabled); 1484Assert.True(capturedArguments["traceCount"].Disabled);