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)
152title = InteractionStrings.NoDeveloperCertificateTrustedTitle; 153message = InteractionStrings.NoDeveloperCertificateTrustedMessage; 158title = InteractionStrings.DeveloperCertificateNotFullyTrustedTitle; 159message = InteractionStrings.DeveloperCertificateNotFullyTrustedMessage; 555string title = InteractionStrings.ContainerRuntimeNotInstalledTitle; 556string message = InteractionStrings.ContainerRuntimeNotInstalledMessage; 561LinkText = InteractionStrings.ContainerRuntimeLinkText, 574string title = InteractionStrings.ContainerRuntimeUnhealthyTitle; 580LinkText = linkUrl is not null ? InteractionStrings.ContainerRuntimeLinkText : null,
Orchestrator\ParameterProcessor.cs (23)
240Label = InteractionStrings.ParametersInputsRememberLabel, 242? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 243: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 280Label = InteractionStrings.ParametersInputsDeleteLabel, 281Description = InteractionStrings.ParametersInputsDeleteDescription, 354InteractionStrings.SetParameterTitle, 355InteractionStrings.SetParameterMessage, 359PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText, 381var message = string.Format(CultureInfo.CurrentCulture, InteractionStrings.DeleteParameterMessage, parameterResource.Name); 386Label = InteractionStrings.ParametersInputsDeleteLabel, 387Description = InteractionStrings.ParametersInputsDeleteDescription, 393InteractionStrings.DeleteParameterTitle, 398PrimaryButtonText = InteractionStrings.DeleteParameterPrimaryButtonText, 418Label = InteractionStrings.ParametersInputsRememberLabel, 422? InteractionStrings.ParametersInputsRememberDescriptionNotConfigured 423: InteractionStrings.ParametersInputsRememberDescriptionConfigured, 564InteractionStrings.ParametersBarTitle, 565InteractionStrings.ParametersBarMessage, 569PrimaryButtonText = InteractionStrings.ParametersBarPrimaryButtonText 611? InteractionStrings.ParametersInputsMessagePublishMode 612: InteractionStrings.ParametersInputsMessage; 615InteractionStrings.ParametersInputsTitle, 620PrimaryButtonText = InteractionStrings.ParametersInputsPrimaryButtonText,
ParameterResourceBuilderExtensions.cs (1)
273Placeholder = 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)
150title: InteractionStrings.VersionCheckTitle, 151message: string.Format(CultureInfo.CurrentCulture, InteractionStrings.VersionCheckMessage, latestVersion), 154LinkText = InteractionStrings.VersionCheckLinkText, 156PrimaryButtonText = 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)
114Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 116Assert.Contains(string.Format(CultureInfo.InvariantCulture, InteractionStrings.ContainerRuntimeUnhealthyMessage, "docker"), interaction.Message); 158Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 159Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedMessage, interaction.Message); 329Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 331Assert.Contains(InteractionStrings.ContainerRuntimePodmanAdvice, interaction.Message); 384Assert.Equal(InteractionStrings.ContainerRuntimeUnhealthyTitle, interaction.Title); 455Assert.Equal(InteractionStrings.ContainerRuntimeNotInstalledTitle, interaction.Title); 456Assert.Contains(InteractionStrings.ContainerRuntimeNotInstalledMessage, interaction.Message); 460Assert.Equal(InteractionStrings.ContainerRuntimeLinkText, notificationOptions.LinkText); 898Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title); 1072Assert.Equal(InteractionStrings.DeveloperCertificateNotFullyTrustedTitle, interaction.Title);
Orchestrator\ParameterProcessorTests.cs (17)
205Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 206Assert.Equal(InteractionStrings.ParametersBarMessage, messageBarInteraction.Message); 213Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 214Assert.Equal(InteractionStrings.ParametersInputsMessage, inputsInteraction.Message); 238Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, input.Label); 298Assert.Equal(InteractionStrings.ParametersBarTitle, messageBarInteraction.Title); 538Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 541Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionNotConfigured, saveCheckbox.Description); 577Assert.Equal(InteractionStrings.ParametersInputsRememberLabel, saveCheckbox.Label); 580Assert.Equal(InteractionStrings.ParametersInputsRememberDescriptionConfigured, saveCheckbox.Description); 1131Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1177Assert.Equal(InteractionStrings.SetParameterTitle, inputsInteraction.Title); 1587Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1592Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title); 1626Assert.Equal(InteractionStrings.DeleteParameterTitle, deleteInteraction.Title); 1638Assert.Equal(InteractionStrings.ParametersBarTitle, notificationInteraction.Title); 1642Assert.Equal(InteractionStrings.ParametersInputsTitle, inputsInteraction.Title);