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)
5349Input = input,
ProvisioningContextProviderTests.cs (5)
589Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 646Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 743Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 752Input = inputsInteraction.Inputs[BaseProvisioningContextProvider.LocationName], 950Input = 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)
1094Input = valueInput, 1120Input = valueInput, 1154Input = valueInput, 1162Input = saveInput, 1191Input = deleteInput, 1223Input = deleteInput,
106 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)
329if (context.Input.Value is not null) 336context.Input.Value = existingValue; 359if (context.Input.Value is null) 364context.Input.Value = "true"; 398context.Input.Disabled = true; 402context.Input.Disabled = parameterSection.Data.Count == 0;
Aspire.Hosting.Azure (34)
AzureProvisioningController.cs (21)
367context.Input.Value = options.TenantResourceSuffix ?? string.Empty; 368context.Input.Disabled = false; 413if (string.IsNullOrEmpty(context.Input.Value)) 415context.Input.Value = currentContext.TenantId; 421context.Input.Options = tenantOptions; 428context.Input.Disabled = false; 446if (string.IsNullOrEmpty(context.Input.Value)) 448context.Input.Value = currentContext.SubscriptionId; 454context.Input.Options = subscriptionOptions; 461context.Input.Disabled = false; 477if (string.IsNullOrEmpty(context.Input.Value)) 479context.Input.Value = currentContext.ResourceGroup; 483context.Input.Options = resourceGroupOptions.Select(static rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 489context.Input.Disabled = false; 516context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 517context.Input.Value = resourceGroupLocation; 519context.Input.Disabled = true; 527if (string.IsNullOrEmpty(context.Input.Value)) 529context.Input.Value = !string.IsNullOrEmpty(deploymentStateResourceName) 534context.Input.Options = await controller.GetLocationOptionsAsync(subscriptionId, context.CancellationToken).ConfigureAwait(false); 542context.Input.Disabled = false;
Provisioning\Internal\RunModeProvisioningContextProvider.cs (13)
363context.Input.Options = fetchSucceeded 395context.Input.Options = fetchSucceeded 398context.Input.Disabled = false; 429context.Input.Options = resourceGroupOptions.Select(rg => KeyValuePair.Create(rg.Name, rg.Name)).ToList(); 433context.Input.Options = []; 435if (string.IsNullOrEmpty(context.Input.Value) && !defaultResourceGroupNameSet) 437context.Input.Value = GetDefaultResourceGroupName(); 442context.Input.Disabled = false; 472context.Input.Options = [KeyValuePair.Create(resourceGroupLocation, resourceGroupLocation)]; 473context.Input.Value = resourceGroupLocation; 474context.Input.Disabled = true; 480context.Input.Options = locationOptions; 481context.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 (16)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
2499context.Input.Options = 2575context.Input.Disabled = context.AllInputs.GetString("category") is not "fruit"; 2576context.Input.Options =
InteractionServiceTests.cs (2)
919c.Input.Options = [KeyValuePair.Create("loaded", "Loaded option")]; 973c.Input.Options = [KeyValuePair.Create("loaded", "Loaded option")];
Orchestrator\ParameterProcessorTests.cs (1)
1360context.Input.Options = [KeyValuePair.Create($"{context.AllInputs["Region"].Value}-a", "a")];
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)
421context.Input.Disabled = string.IsNullOrEmpty(category); 422context.Input.Options = category switch 472context.Input.Disabled = string.IsNullOrEmpty(item); 476context.Input.Options = isPerishable 489if (string.IsNullOrEmpty(context.Input.Value)) 491context.Input.Value = isPerishable ? "express" : "standard"; 1374context.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;