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