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)
204messageBuilder.AppendFormat(CultureInfo.InvariantCulture, InteractionStrings.ContainerRuntimeUnhealthyMessage, containerRuntime); 209messageBuilder.Append(InteractionStrings.ContainerRuntimeDockerAdvice); 214messageBuilder.Append(InteractionStrings.ContainerRuntimePodmanAdvice); 218messageBuilder.Append(InteractionStrings.ContainerRuntimeGenericAdvice);
Dcp\DcpHost.cs (9)
144title = InteractionStrings.NoDeveloperCertificateTrustedTitle; 145message = InteractionStrings.NoDeveloperCertificateTrustedMessage; 150title = InteractionStrings.DeveloperCertificateNotFullyTrustedTitle; 151message = InteractionStrings.DeveloperCertificateNotFullyTrustedMessage; 653string title = InteractionStrings.ContainerRuntimeNotInstalledTitle; 654string message = InteractionStrings.ContainerRuntimeNotInstalledMessage; 659LinkText = InteractionStrings.ContainerRuntimeLinkText, 672string title = InteractionStrings.ContainerRuntimeUnhealthyTitle; 678LinkText = 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, 529Label = InteractionStrings.ParametersInputsRememberLabel, 533? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 534: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 695InteractionStrings.ParametersBarTitle, 696InteractionStrings.ParametersBarMessage, 700PrimaryButtonText = InteractionStrings.ParametersBarPrimaryButtonText, 774? InteractionStrings.ParametersInputsMessagePublishMode 775: InteractionStrings.ParametersInputsMessage; 778InteractionStrings.ParametersInputsTitle, 783PrimaryButtonText = 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)
731Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 763Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "test"), input.Placeholder); 797Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "secret"), input.Placeholder); 1033Assert.Equal(string.Format(InteractionStrings.ParametersInputsParameterPlaceholder, "api-key"), input.Placeholder); 1057Assert.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); 1013Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 1161Assert.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); 1428Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1430Assert.Equal(InteractionStrings.ParametersBarPrimaryButtonText, options.PrimaryButtonText); 1471Assert.Equal(InteractionStrings.SetParameterTitle, inputsInteraction.Title); 2022Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2027Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 2285Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2420Assert.Equal(InteractionStrings.ParametersBarTitle, notification.Title); 2460Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2464Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 2521Assert.Equal(InteractionStrings.DeleteParameterTitle, deleteInteraction.Title); 2533Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 2537Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title);