85 references to InteractionStrings
Aspire.Hosting (44)
ApplicationModel\ParameterResource.cs (1)
610Placeholder = string.Format(CultureInfo.CurrentCulture, InteractionStrings.ParametersInputsParameterPlaceholder, Name)
ApplicationModel\ResourceCommandService.cs (1)
455options.PrimaryButtonText = InteractionStrings.CommandProgressCancelButtonText;
Dcp\DcpDependencyCheck.cs (4)
230messageBuilder.AppendFormat(CultureInfo.InvariantCulture, InteractionStrings.ContainerRuntimeUnhealthyMessage, containerRuntime); 235messageBuilder.Append(InteractionStrings.ContainerRuntimeDockerAdvice); 240messageBuilder.Append(InteractionStrings.ContainerRuntimePodmanAdvice); 244messageBuilder.Append(InteractionStrings.ContainerRuntimeGenericAdvice);
Dcp\DcpHost.cs (9)
145title = InteractionStrings.NoDeveloperCertificateTrustedTitle; 146message = InteractionStrings.NoDeveloperCertificateTrustedMessage; 151title = InteractionStrings.DeveloperCertificateNotFullyTrustedTitle; 152message = InteractionStrings.DeveloperCertificateNotFullyTrustedMessage; 654string title = InteractionStrings.ContainerRuntimeNotInstalledTitle; 655string message = InteractionStrings.ContainerRuntimeNotInstalledMessage; 660LinkText = InteractionStrings.ContainerRuntimeLinkText, 673string title = InteractionStrings.ContainerRuntimeUnhealthyTitle; 679LinkText = linkUrl is not null ? InteractionStrings.ContainerRuntimeLinkText : null,
Orchestrator\ParameterProcessor.cs (23)
347Label = InteractionStrings.ParametersInputsRememberLabel, 349? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 350: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 387Label = InteractionStrings.ParametersInputsDeleteLabel, 388Description = InteractionStrings.ParametersInputsDeleteDescription, 445InteractionStrings.SetParameterTitle, 446InteractionStrings.SetParameterMessage, 450PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText, 492var message = string.Format(CultureInfo.CurrentCulture, InteractionStrings.DeleteParameterMessage, parameterResource.Name); 497Label = InteractionStrings.ParametersInputsDeleteLabel, 498Description = InteractionStrings.ParametersInputsDeleteDescription, 504InteractionStrings.DeleteParameterTitle, 509PrimaryButtonText = InteractionStrings.DeleteParameterPrimaryButtonText, 559Label = InteractionStrings.ParametersInputsRememberLabel, 563? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 564: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 725InteractionStrings.ParametersBarTitle, 726InteractionStrings.ParametersBarMessage, 730PrimaryButtonText = InteractionStrings.ParametersBarPrimaryButtonText, 810? InteractionStrings.ParametersInputsMessagePublishMode 811: InteractionStrings.ParametersInputsMessage; 814InteractionStrings.ParametersInputsTitle, 819PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText,
ParameterResourceBuilderExtensions.cs (1)
303Placeholder = GetOptionalString(options.Placeholder) ?? string.Format(CultureInfo.CurrentCulture, InteractionStrings.ParametersInputsParameterPlaceholder, parameter.Name),
Resources\InteractionStrings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Hosting.Resources.InteractionStrings", typeof(InteractionStrings).Assembly);
VersionChecking\VersionCheckService.cs (4)
148title: InteractionStrings.VersionCheckTitle, 149message: string.Format(CultureInfo.CurrentCulture, InteractionStrings.VersionCheckMessage, latestVersion), 152LinkText = InteractionStrings.VersionCheckLinkText, 154PrimaryButtonText = InteractionStrings.VersionCheckPrimaryButtonText
Aspire.Hosting.Tests (41)
AddParameterTests.cs (5)
763Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 795Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 829Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "secret"), input.Placeholder); 1065Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "api-key"), input.Placeholder); 1089Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "worker-count"), input.Placeholder);
Dcp\DcpHostNotificationTests.cs (12)
115Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 117Assert.Contains(string.Format(CultureInfo.InvariantCulture, InteractionStrings.ContainerRuntimeUnhealthyMessage, "docker"), interaction.Message); 159Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 160Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedMessage, interaction.Message); 302Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 304Assert.Contains(InteractionStrings.ContainerRuntimePodmanAdvice, interaction.Message); 358Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 424Assert.Equal(InteractionStrings.ContainerRuntimeNotInstalledTitle, interaction.Title); 425Assert.Contains(InteractionStrings.ContainerRuntimeNotInstalledMessage, interaction.Message); 429Assert.Equal(InteractionStrings.ContainerRuntimeLinkText, notificationOptions.LinkText); 1185Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 1333Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title);
Orchestrator\ParameterProcessorTests.cs (24)
175Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 282Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 283Assert.Equal(InteractionStrings.ParametersBarMessage, messageBarInteraction.Message); 290Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 291Assert.Equal(InteractionStrings.ParametersInputsMessage, inputsInteraction.Message); 315Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, input.Label); 375Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 699Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 702Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionNotConfigured, saveCheckbox.Description); 738Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 741Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionConfigured, saveCheckbox.Description); 1292Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1608Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1610Assert.Equal(InteractionStrings.ParametersBarPrimaryButtonText, options.PrimaryButtonText); 1651Assert.Equal(InteractionStrings.SetParameterTitle, inputsInteraction.Title); 2203Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2208Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 2466Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2601Assert.Equal(InteractionStrings.ParametersBarTitle, notification.Title); 2641Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2645Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 2702Assert.Equal(InteractionStrings.DeleteParameterTitle, deleteInteraction.Title); 2714Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2718Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title);