85 writes to Description
Aspire.Hosting (9)
ApplicationModel\ParameterResource.cs (1)
606
Description
= Description,
ApplicationModel\ResourceCommandService.cs (1)
804
Description
= input.Description,
Ats\InteractionExports.cs (2)
260
Description
= input.Description,
313
Description
= options?.Description,
Orchestrator\ParameterProcessor.cs (4)
348
Description
= !userSecretsManager.IsAvailable
388
Description
= InteractionStrings.ParametersInputsDeleteDescription,
498
Description
= InteractionStrings.ParametersInputsDeleteDescription,
532
Description
= !userSecretsManager.IsAvailable
ParameterResourceBuilderExtensions.cs (1)
299
Description
= GetOptionalString(options.Description) ?? parameter.Description,
Aspire.Hosting.Azure (3)
AzureProvisioningController.cs (2)
356
Description
= AzureProvisioningStrings.TenantResourceSuffixDescription,
399
Description
= AzureProvisioningStrings.ChangeResourceLocationConfirmDeleteDescription,
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
494
Description
= AzureProvisioningStrings.TenantResourceSuffixDescription,
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (1)
1062
Description
= "Enter a custom port number for the service",
AzureEnvironmentResourceExtensionsTests.cs (1)
5329
Description
= input.Description,
Aspire.Hosting.Browsers (3)
BrowserLogsConfigurationManager.cs (3)
62
Description
= BrowserCommandStrings.ConfigureTrackedBrowserBrowserDescription,
106
Description
= BrowserCommandStrings.ConfigureTrackedBrowserProfileDescription,
127
Description
= userSecretsAvailable
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (3)
62
Description
= BrowserCommandStrings.ConfigureTrackedBrowserBrowserDescription,
106
Description
= BrowserCommandStrings.ConfigureTrackedBrowserProfileDescription,
127
Description
= userSecretsAvailable
Aspire.Hosting.Foundry (2)
HostedAgent\HostedAgentBuilderExtension.cs (1)
335
Description
= "Enter a message to send to the agent."
PromptAgent\PromptAgentBuilderExtensions.cs (1)
125
Description
= $"Enter a message to send to '{name}'."
Aspire.Hosting.Tests (9)
AddParameterTests.cs (4)
707
Description
= p.Description,
813
Description
= "Custom: " + p.Description,
893
Description
= "Custom description",
961
Description
= "Custom description",
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
216
Description
= "CSS selector to click.",
Dashboard\DashboardServiceTests.cs (1)
179
Description
= "CSS selector to click.",
InteractionServiceTests.cs (3)
559
Description
= "Test description",
579
Description
= "**Bold** description",
597
Description
= null,
ExternalServices.AppHost (1)
AppHost.cs (1)
17
Description
= p.Description
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
58
Description
= p.Description,
Stress.AppHost (47)
CommandResources.cs (35)
207
Description
= "Text value to echo.",
217
Description
= "How many times to echo the message.",
225
Description
= "Uppercase the echoed message.",
233
Description
= "Choice argument used to verify select input rendering.",
247
Description
= "Secret text input. The command only returns its length.",
302
Description
= "Target resource or subsystem to validate.",
312
Description
= "Select success to pass, fail to return a structured failure, or dry-run for a successful validation preview.",
326
Description
= "Positive timeout value to validate.",
334
Description
= "Boolean argument used to verify checkbox input rendering.",
393
Description
= "Select a category to populate dependent items.",
408
Description
= "Items are loaded based on the selected category.",
451
Description
= "Number of items to order.",
460
Description
= "Priority is determined by the selected item.",
553
Description
= "Select which dotnet command to run.",
581
Description
= "Text written to the process standard input.",
655
Description
= "Text passed as a C# file app command-line argument.",
664
Description
= "Text written to the C# file app standard input.",
710
Description
= "Seed data size.",
724
Description
= "Number of customers to create.",
756
Description
= "The test filter to run.",
790
Description
= "Job name to run.",
799
Description
= "Payload written to the job process standard input.",
828
Description
= "Backup file path on the AppHost machine.",
837
Description
= "Container name or ID.",
846
Description
= "Database name to restore.",
875
Description
= "Container name or ID.",
885
Description
= "Command to execute in the container.",
895
Description
= "Working directory inside the container.",
1062
Description
= "Generate many traces with a configurable number of spans.",
1089
Description
= "Generate one trace containing many spans.",
1141
Description
= "Generate counter and histogram data points.",
1388
Description
= "Identifier for this stress command invocation.",
1398
Description
= "Number input used to verify numeric payload handling.",
1407
Description
= "Boolean input used to verify boolean payload handling.",
1420
Description
= "Generated text input used by the command argument stress test.",
InteractionCommands.cs (12)
59
var inputNoMarkdown = new InteractionInput { Name = "Name", Label = "<strong>Name</strong>", InputType = InputType.Text, Placeholder = "Enter <strong>your</strong> name.",
Description
= "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com." };
60
var inputHasMarkdown = new InteractionInput { Name = "Name", Label = "<strong>Name</strong>", InputType = InputType.Text, Placeholder = "Enter <strong>your</strong> name.",
Description
= "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com.", EnableDescriptionMarkdown = true };
72
var inputHasMarkdown = new InteractionInput { Name = "Name", Label = "<strong>Name</strong>", InputType = InputType.Text, Placeholder = "Enter <strong>your</strong> name.",
Description
= "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, **neque id** efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.", EnableDescriptionMarkdown = true };
239
new InteractionInput { Name = "Name", InputType = InputType.Text, Label = "Name",
Description
= "The name for the dinner reservation. Maximum 50 characters.", Placeholder = "Enter name", Required = true, MaxLength = 50 },
240
new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password",
Description
= "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 },
288
Description
= "The name for the dinner reservation.",
297
Description
= "The password for the reservation.",
306
Description
= "The selected dinner from the available menu.",
317
Description
= "Dietary requirements, including values outside the suggested options.",
328
Description
= "The number of guests included in the reservation.",
337
Description
= "Whether to remember these reservation details.",
346
Description
= "An attachment with additional reservation details.",
TestShop.AppHost (5)
AppHost.cs (5)
30
Description
= parameter.Description,
46
Description
= parameter.Description,
63
Description
= parameter.Description,
74
Description
= parameter.Description
84
Description
= parameter.Description,
28 references to Description
Aspire.Hosting (5)
ApplicationModel\ResourceCommandService.cs (1)
804
Description = input.
Description
,
Ats\InteractionExports.cs (1)
260
Description = input.
Description
,
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1395
Description = input.
Description
,
Dashboard\DashboardService.cs (2)
235
if (input.
Description
!= null)
237
dto.Description = input.
Description
;
Aspire.Hosting.Azure.Tests (4)
AzureDeployerTests.cs (1)
1082
Assert.Equal("Enter a custom port number for the service", input.
Description
);
AzureEnvironmentResourceExtensionsTests.cs (2)
991
Assert.Contains("permanently lost", confirmDeleteArgument.
Description
, StringComparison.Ordinal);
5329
Description = input.
Description
,
ProvisioningContextProviderTests.cs (1)
167
Assert.Equal(AzureProvisioningStrings.TenantResourceSuffixDescription, input.
Description
);
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsBuilderExtensionsTests.cs (1)
196
Assert.Equal(BrowserCommandStrings.ConfigureTrackedBrowserSaveToUserSecretsDescriptionNotConfigured, saveInput.
Description
);
Aspire.Hosting.Tests (18)
AddParameterTests.cs (10)
730
Assert.Equal("Test description", input.
Description
);
762
Assert.Equal("Test description", input.
Description
);
796
Assert.Equal("Secret description", input.
Description
);
824
Assert.Equal("Custom: Custom description", input.
Description
);
905
Assert.Equal("Custom description", input.
Description
);
944
Assert.Equal("**Bold** description", input.
Description
);
971
Assert.Equal("Custom description", input.
Description
);
1003
Assert.Equal("**Worker** count", input.
Description
);
1047
[nameof(InteractionInput.
Description
)] = "",
1055
Assert.Equal("**Worker** count", input.
Description
);
InteractionServiceTests.cs (3)
566
Assert.Equal("Test description", input.
Description
);
584
Assert.Equal("**Bold** description", input.
Description
);
602
Assert.Null(input.
Description
);
Orchestrator\ParameterProcessorTests.cs (5)
619
Assert.Equal("This is a test parameter", param1Input.
Description
);
625
Assert.Equal("This parameter has **markdown** formatting", param2Input.
Description
);
662
Assert.Equal("This is a secret parameter", secretInput.
Description
);
702
Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionNotConfigured, saveCheckbox.
Description
);
741
Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionConfigured, saveCheckbox.
Description
);