18 writes to Input
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
669Input = argument,
IInteractionService.cs (1)
199Input = options.Input,
Aspire.Hosting.Azure.Tests (6)
AzureEnvironmentResourceExtensionsTests.cs (1)
5019Input = input,
ProvisioningContextProviderTests.cs (5)
391Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 447Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 543Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 552Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 746Input = subscriptionInput,
Aspire.Hosting.Browsers.Tests (4)
BrowserLogsBuilderExtensionsTests.cs (4)
108Input = browserInput, 115Input = userDataModeInput, 122Input = profileInput, 161Input = profileInput,
Aspire.Hosting.Tests (6)
Orchestrator\ParameterProcessorTests.cs (6)
933Input = valueInput, 959Input = valueInput, 993Input = valueInput, 1001Input = saveInput, 1030Input = deleteInput, 1062Input = deleteInput,
103 references to Input
Aspire.Hosting (9)
Ats\InteractionExports.cs (3)
464return _inner.Input.Name; 478_inner.Input.Options = InteractionExports.ToOptionList(choices); 489_inner.Input.Value = value;
Orchestrator\ParameterProcessor.cs (6)
214if (context.Input.Value is not null) 224context.Input.Value = existingValue; 252if (context.Input.Value is null) 257context.Input.Value = "true"; 291context.Input.Disabled = true; 295context.Input.Disabled = parameterSection.Data.Count == 0;
Aspire.Hosting.Azure (32)
AzureProvisioningController.cs (19)
391if (string.IsNullOrEmpty(context.Input.Value)) 393context.Input.Value = currentContext.TenantId; 399context.Input.Options = tenantOptions; 406context.Input.Disabled = false; 424if (string.IsNullOrEmpty(context.Input.Value)) 426context.Input.Value = currentContext.SubscriptionId; 432context.Input.Options = subscriptionOptions; 439context.Input.Disabled = false; 455if (string.IsNullOrEmpty(context.Input.Value)) 457context.Input.Value = currentContext.ResourceGroup; 461context.Input.Options = resourceGroupOptions.Select(static rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 467context.Input.Disabled = false; 494context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 495context.Input.Value = resourceGroupLocation; 497context.Input.Disabled = true; 505if (string.IsNullOrEmpty(context.Input.Value)) 507context.Input.Value = !string.IsNullOrEmpty(deploymentStateResourceName) 512context.Input.Options = await controller.GetLocationOptionsAsync(subscriptionId, context.CancellationToken).ConfigureAwait(false); 520context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (13)
352context.Input.Options = fetchSucceeded 384context.Input.Options = fetchSucceeded 387context.Input.Disabled = false; 418context.Input.Options = resourceGroupOptions.Select(rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 422context.Input.Options = []; 424if (string.IsNullOrEmpty(context.Input.Value) && !defaultResourceGroupNameSet) 426context.Input.Value = GetDefaultResourceGroupName(); 431context.Input.Disabled = false; 461context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 462context.Input.Value = resourceGroupLocation; 463context.Input.Disabled = true; 469context.Input.Options = locationOptions; 470context.Input.Disabled = false;
Aspire.Hosting.Browsers (10)
BrowserLogsConfigurationManager.cs (10)
180if (context.Input.Value is null) 183context.Input.Value = currentConfiguration.Browser; 189if (context.Input.Value is null) 192context.Input.Value = currentConfiguration.UserDataMode.ToString(); 199if (context.Input.Value is null) 201context.Input.Value = currentConfiguration.Profile ?? BrowserDefaultProfileValue; 206var profile = context.Input.Value; 244context.Input.Value = BrowserDefaultProfileValue; 252context.Input.Options = [.. options.Select(static pair => new KeyValuePair<string, string>(pair.Key, pair.Value))]; 253context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Browsers.Tests (10)
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (10)
180if (context.Input.Value is null) 183context.Input.Value = currentConfiguration.Browser; 189if (context.Input.Value is null) 192context.Input.Value = currentConfiguration.UserDataMode.ToString(); 199if (context.Input.Value is null) 201context.Input.Value = currentConfiguration.Profile ?? BrowserDefaultProfileValue; 206var profile = context.Input.Value; 244context.Input.Value = BrowserDefaultProfileValue; 252context.Input.Options = [.. options.Select(static pair => new KeyValuePair<string, string>(pair.Key, pair.Value))]; 253context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Tests (15)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
2457context.Input.Options = 2533context.Input.Disabled = context.AllInputs.GetString("category") is not "fruit"; 2534context.Input.Options =
InteractionServiceTests.cs (2)
919c.Input.Options = [KeyValuePair.Create("loaded", "Loaded option")]; 973c.Input.Options = [KeyValuePair.Create("loaded", "Loaded option")];
ResourceCommandServiceTests.cs (10)
857context.Input.Disabled = false; 1012context.Input.Options = [KeyValuePair.Create("westus", "West US")]; 1084context.Input.Disabled = false; 1085context.Input.Options = [KeyValuePair.Create("banana", "Banana")]; 1101context.Input.Disabled = false; 1102context.Input.Options = [KeyValuePair.Create("express", "Express")]; 1175context.Input.Disabled = true; 1176context.Input.Value = "default"; 1177context.Input.Options = [KeyValuePair.Create("default", "Default")]; 1353context.Input.Disabled = !context.AllInputs.GetBoolean("generateTraces");
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
93c.Input.Options = options;
Stress.AppHost (26)
CommandResources.cs (7)
420context.Input.Disabled = string.IsNullOrEmpty(category); 421context.Input.Options = category switch 471context.Input.Disabled = string.IsNullOrEmpty(item); 475context.Input.Options = isPerishable 488if (string.IsNullOrEmpty(context.Input.Value)) 490context.Input.Value = isPerishable ? "express" : "standard"; 1296context.Input.Disabled = !bool.TryParse(context.AllInputs.GetString(inputName), out var enabled) || !enabled;
InteractionCommands.cs (19)
308context.Input.Options = [ 331context.Input.Disabled = false; 332context.Input.Options = list; 336context.Input.Disabled = true; 376context.Input.Value = dependsOnInput.Value; 476context.Input.Options = list; 617context.Input.Options = [ 643context.Input.Disabled = false; 647context.Input.Options = [ 654context.Input.Options = [ 680context.Input.Options = [ 685context.Input.Disabled = false; 687if (string.IsNullOrEmpty(context.Input.Value)) 689context.Input.Value = "rg-aspire-stress"; 721context.Input.Options = [KeyValuePair.Create(existingLocation, existingLocation)]; 722context.Input.Value = existingLocation; 723context.Input.Disabled = true; 729context.Input.Options = [ 741context.Input.Disabled = false;