18 writes to Input
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (1)
669Input = argument,
IInteractionService.cs (1)
262Input = options.Input,
Aspire.Hosting.Azure.Tests (6)
AzureEnvironmentResourceExtensionsTests.cs (1)
5028Input = input,
ProvisioningContextProviderTests.cs (5)
388Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 444Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 540Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 549Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 743Input = subscriptionInput,
Aspire.Hosting.Browsers.Tests (4)
BrowserLogsBuilderExtensionsTests.cs (4)
107Input = browserInput, 114Input = userDataModeInput, 121Input = profileInput, 160Input = profileInput,
Aspire.Hosting.Tests (6)
Orchestrator\ParameterProcessorTests.cs (6)
931Input = valueInput, 957Input = valueInput, 991Input = valueInput, 999Input = saveInput, 1028Input = deleteInput, 1060Input = 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)
211if (context.Input.Value is not null) 221context.Input.Value = existingValue; 249if (context.Input.Value is null) 254context.Input.Value = "true"; 288context.Input.Disabled = true; 292context.Input.Disabled = parameterSection.Data.Count == 0;
Aspire.Hosting.Azure (32)
AzureProvisioningController.cs (19)
388if (string.IsNullOrEmpty(context.Input.Value)) 390context.Input.Value = currentContext.TenantId; 396context.Input.Options = tenantOptions; 403context.Input.Disabled = false; 421if (string.IsNullOrEmpty(context.Input.Value)) 423context.Input.Value = currentContext.SubscriptionId; 429context.Input.Options = subscriptionOptions; 436context.Input.Disabled = false; 452if (string.IsNullOrEmpty(context.Input.Value)) 454context.Input.Value = currentContext.ResourceGroup; 458context.Input.Options = resourceGroupOptions.Select(static rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 464context.Input.Disabled = false; 491context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 492context.Input.Value = resourceGroupLocation; 494context.Input.Disabled = true; 502if (string.IsNullOrEmpty(context.Input.Value)) 504context.Input.Value = !string.IsNullOrEmpty(deploymentStateResourceName) 509context.Input.Options = await controller.GetLocationOptionsAsync(subscriptionId, context.CancellationToken).ConfigureAwait(false); 517context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (13)
350context.Input.Options = fetchSucceeded 382context.Input.Options = fetchSucceeded 385context.Input.Disabled = false; 416context.Input.Options = resourceGroupOptions.Select(rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 420context.Input.Options = []; 422if (string.IsNullOrEmpty(context.Input.Value) && !defaultResourceGroupNameSet) 424context.Input.Value = GetDefaultResourceGroupName(); 429context.Input.Disabled = false; 459context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 460context.Input.Value = resourceGroupLocation; 461context.Input.Disabled = true; 467context.Input.Options = locationOptions; 468context.Input.Disabled = false;
Aspire.Hosting.Browsers (10)
BrowserLogsConfigurationManager.cs (10)
179if (context.Input.Value is null) 182context.Input.Value = currentConfiguration.Browser; 188if (context.Input.Value is null) 191context.Input.Value = currentConfiguration.UserDataMode.ToString(); 198if (context.Input.Value is null) 200context.Input.Value = currentConfiguration.Profile ?? BrowserDefaultProfileValue; 205var profile = context.Input.Value; 243context.Input.Value = BrowserDefaultProfileValue; 251context.Input.Options = [.. options.Select(static pair => new KeyValuePair<string, string>(pair.Key, pair.Value))]; 252context.Input.Disabled = disableProfileInput;
Aspire.Hosting.Browsers.Tests (10)
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (10)
179if (context.Input.Value is null) 182context.Input.Value = currentConfiguration.Browser; 188if (context.Input.Value is null) 191context.Input.Value = currentConfiguration.UserDataMode.ToString(); 198if (context.Input.Value is null) 200context.Input.Value = currentConfiguration.Profile ?? BrowserDefaultProfileValue; 205var profile = context.Input.Value; 243context.Input.Value = BrowserDefaultProfileValue; 251context.Input.Options = [.. options.Select(static pair => new KeyValuePair<string, string>(pair.Key, pair.Value))]; 252context.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)
858context.Input.Disabled = false; 1013context.Input.Options = [KeyValuePair.Create("westus", "West US")]; 1085context.Input.Disabled = false; 1086context.Input.Options = [KeyValuePair.Create("banana", "Banana")]; 1102context.Input.Disabled = false; 1103context.Input.Options = [KeyValuePair.Create("express", "Express")]; 1176context.Input.Disabled = true; 1177context.Input.Value = "default"; 1178context.Input.Options = [KeyValuePair.Create("default", "Default")]; 1456context.Input.Disabled = !context.AllInputs.GetBoolean("generateTraces");
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
91c.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"; 1373context.Input.Disabled = !bool.TryParse(context.AllInputs.GetString(inputName), out var enabled) || !enabled;
InteractionCommands.cs (19)
389context.Input.Options = [ 412context.Input.Disabled = false; 413context.Input.Options = list; 417context.Input.Disabled = true; 457context.Input.Value = dependsOnInput.Value; 557context.Input.Options = list; 698context.Input.Options = [ 724context.Input.Disabled = false; 728context.Input.Options = [ 735context.Input.Options = [ 761context.Input.Options = [ 766context.Input.Disabled = false; 768if (string.IsNullOrEmpty(context.Input.Value)) 770context.Input.Value = "rg-aspire-stress"; 802context.Input.Options = [KeyValuePair.Create(existingLocation, existingLocation)]; 803context.Input.Value = existingLocation; 804context.Input.Disabled = true; 810context.Input.Options = [ 822context.Input.Disabled = false;