41 references to InteractionServiceStrings
aspire (40)
Certificates\CertificateService.cs (2)
28
$":locked_with_key: {
InteractionServiceStrings
.CheckingCertificates}",
50
$":locked_with_key: {
InteractionServiceStrings
.TrustingCertificates}",
Commands\BaseCommand.cs (6)
63
interactionService.DisplayError(
InteractionServiceStrings
.SpecifiedProjectFileNotAppHostProject);
68
interactionService.DisplayError(
InteractionServiceStrings
.ProjectOptionDoesntExist);
73
interactionService.DisplayError(
InteractionServiceStrings
.ProjectOptionNotSpecifiedMultipleAppHostsFound);
78
interactionService.DisplayError(
InteractionServiceStrings
.ProjectOptionNotSpecifiedNoCsprojFound);
83
interactionService.DisplayError(
InteractionServiceStrings
.UnbuildableAppHostsDetected);
87
interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.UnexpectedErrorOccurred, ex.Message));
Commands\ExecCommand.cs (3)
200
InteractionService.DisplayMessage(emoji: "bug",
InteractionServiceStrings
.WaitingForDebuggerToAttachToAppHost);
293
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.ErrorConnectingToAppHost, ex.Message));
299
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.UnexpectedErrorOccurred, ex.Message));
Commands\PublishCommand.cs (1)
63
protected override string GetCanceledMessage() =>
InteractionServiceStrings
.OperationCancelled;
Commands\PublishCommandBase.cs (5)
152
InteractionService.DisplayError(
InteractionServiceStrings
.ProjectCouldNotBeBuilt);
186
InteractionService.DisplayMessage("bug",
InteractionServiceStrings
.WaitingForDebuggerToAttachToAppHost);
237
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.ErrorConnectingToAppHost, ex.Message));
243
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.UnexpectedErrorOccurred, ex.Message));
617
options.Add(KeyValuePair.Create(CustomChoiceValue,
InteractionServiceStrings
.CustomChoiceLabel));
Commands\RunCommand.cs (3)
165
InteractionService.DisplayError(
InteractionServiceStrings
.ProjectCouldNotBeBuilt);
363
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.ErrorConnectingToAppHost, ex.Message.EscapeMarkup()));
369
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.UnexpectedErrorOccurred, ex.Message.EscapeMarkup()));
Interaction\ConsoleInteractionService.cs (9)
92
throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.NoItemsAvailableForSelection, promptText));
114
throw new EmptyChoicesException(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.NoItemsAvailableForSelection, promptText));
131
DisplayError(
InteractionServiceStrings
.AppHostNotCompatibleConsiderUpgrading);
134
$"\t[bold]{
InteractionServiceStrings
.AspireHostingSDKVersion}[/]: {appHostHostingVersion}");
135
_ansiConsole.MarkupLine($"\t[bold]{
InteractionServiceStrings
.AspireCLIVersion}[/]: {cliInformationalVersion}");
136
_ansiConsole.MarkupLine($"\t[bold]{
InteractionServiceStrings
.RequiredCapability}[/]: {ex.RequiredCapability}");
201
DisplayMessage("stop_sign", $"[teal bold]{
InteractionServiceStrings
.StoppingAspire}[/]");
224
_ansiConsole.MarkupLine(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.NewCliVersionAvailable, newerVersion));
225
_ansiConsole.MarkupLine(string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.MoreInfoNewCliVersion, UpdateUrl));
Projects\ProjectLocator.cs (8)
35
return await interactionService.ShowStatusAsync(
InteractionServiceStrings
.SearchingProjects, async () =>
47
interactionService.DisplayMessage("magnifying_glass_tilted_left",
InteractionServiceStrings
.FindingAppHosts);
228
var appHostProjects = await interactionService.ShowStatusAsync(
InteractionServiceStrings
.SearchingProjects, async () =>
236
interactionService.DisplayMessage("magnifying_glass_tilted_left",
InteractionServiceStrings
.FindingAppHosts);
313
InteractionServiceStrings
.SelectAppHostToUse,
391
InteractionServiceStrings
.SelectAppHostToUse,
415
interactionService.DisplayMessage("file_cabinet", string.Format(CultureInfo.CurrentCulture,
InteractionServiceStrings
.CreatedSettingsFile, $"[bold]'{relativeSettingsFilePath}'[/]"));
422
return await interactionService.ShowStatusAsync(
InteractionServiceStrings
.SearchingProjects, async () =>
Resources\InteractionServiceStrings.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.InteractionServiceStrings", typeof(
InteractionServiceStrings
).Assembly);
Utils\AppHostHelper.cs (2)
58
$":microscope: {
InteractionServiceStrings
.CheckingProjectType}: {relativePath}",
71
$":hammer_and_wrench: {
InteractionServiceStrings
.BuildingAppHost} {relativePath}",
Aspire.Cli.Tests (1)
Commands\ExecCommandTests.cs (1)
136
Assert.DoesNotContain(testOutputWriter.Logs, x => x.Contains(
InteractionServiceStrings
.FindingAppHosts));