78 references to InteractionStrings
Aspire.Hosting (44)
ApplicationModel\ParameterResource.cs (1)
175Placeholder = string.Format(CultureInfo.CurrentCulture, InteractionStrings.ParametersInputsParameterPlaceholder, Name)
ApplicationModel\ResourceCommandService.cs (1)
455options.PrimaryButtonText = InteractionStrings.CommandProgressCancelButtonText;
Dcp\DcpDependencyCheck.cs (4)
204messageBuilder.AppendFormat(CultureInfo.InvariantCulture, InteractionStrings.ContainerRuntimeUnhealthyMessage, containerRuntime); 209messageBuilder.Append(InteractionStrings.ContainerRuntimeDockerAdvice); 214messageBuilder.Append(InteractionStrings.ContainerRuntimePodmanAdvice); 218messageBuilder.Append(InteractionStrings.ContainerRuntimeGenericAdvice);
Dcp\DcpHost.cs (9)
154title = InteractionStrings.NoDeveloperCertificateTrustedTitle; 155message = InteractionStrings.NoDeveloperCertificateTrustedMessage; 160title = InteractionStrings.DeveloperCertificateNotFullyTrustedTitle; 161message = InteractionStrings.DeveloperCertificateNotFullyTrustedMessage; 645string title = InteractionStrings.ContainerRuntimeNotInstalledTitle; 646string message = InteractionStrings.ContainerRuntimeNotInstalledMessage; 651LinkText = InteractionStrings.ContainerRuntimeLinkText, 664string title = InteractionStrings.ContainerRuntimeUnhealthyTitle; 670LinkText = linkUrl is not null ? InteractionStrings.ContainerRuntimeLinkText : null,
Orchestrator\ParameterProcessor.cs (23)
237Label = InteractionStrings.ParametersInputsRememberLabel, 239? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 240: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 277Label = InteractionStrings.ParametersInputsDeleteLabel, 278Description = InteractionStrings.ParametersInputsDeleteDescription, 351InteractionStrings.SetParameterTitle, 352InteractionStrings.SetParameterMessage, 356PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText, 378var message = string.Format(CultureInfo.CurrentCulture, InteractionStrings.DeleteParameterMessage, parameterResource.Name); 383Label = InteractionStrings.ParametersInputsDeleteLabel, 384Description = InteractionStrings.ParametersInputsDeleteDescription, 390InteractionStrings.DeleteParameterTitle, 395PrimaryButtonText = InteractionStrings.DeleteParameterPrimaryButtonText, 415Label = InteractionStrings.ParametersInputsRememberLabel, 419? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 420: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 561InteractionStrings.ParametersBarTitle, 562InteractionStrings.ParametersBarMessage, 566PrimaryButtonText = InteractionStrings.ParametersBarPrimaryButtonText 608? InteractionStrings.ParametersInputsMessagePublishMode 609: InteractionStrings.ParametersInputsMessage; 612InteractionStrings.ParametersInputsTitle, 617PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText,
ParameterResourceBuilderExtensions.cs (1)
271Placeholder = 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 (34)
AddParameterTests.cs (5)
432Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 451Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 485Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "secret"), input.Placeholder); 668Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "api-key"), input.Placeholder); 692Assert.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); 330Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 332Assert.Contains(InteractionStrings.ContainerRuntimePodmanAdvice, interaction.Message); 385Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 456Assert.Equal(InteractionStrings.ContainerRuntimeNotInstalledTitle, interaction.Title); 457Assert.Contains(InteractionStrings.ContainerRuntimeNotInstalledMessage, interaction.Message); 461Assert.Equal(InteractionStrings.ContainerRuntimeLinkText, notificationOptions.LinkText); 996Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 1170Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title);
Orchestrator\ParameterProcessorTests.cs (17)
203Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 204Assert.Equal(InteractionStrings.ParametersBarMessage, messageBarInteraction.Message); 211Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 212Assert.Equal(InteractionStrings.ParametersInputsMessage, inputsInteraction.Message); 236Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, input.Label); 296Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 536Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 539Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionNotConfigured, saveCheckbox.Description); 575Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 578Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionConfigured, saveCheckbox.Description); 1129Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1175Assert.Equal(InteractionStrings.SetParameterTitle, inputsInteraction.Title); 1585Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1590Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 1624Assert.Equal(InteractionStrings.DeleteParameterTitle, deleteInteraction.Title); 1636Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1640Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title);