17 references to ExportCommandStrings
aspire (16)
Commands\ExportCommand.cs (13)
34
Description =
ExportCommandStrings
.OutputOptionDescription
42
Description =
ExportCommandStrings
.IncludeHiddenOptionDescription
47
Description =
ExportCommandStrings
.ResourceOptionDescription,
57
: base("export",
ExportCommandStrings
.Description, services)
113
InteractionService.DisplayMessage(KnownEmojis.Warning,
ExportCommandStrings
.DashboardNotAvailable);
130
return CommandResult.Failure(CliExitCodes.DashboardFailure, string.Format(CultureInfo.CurrentCulture,
ExportCommandStrings
.FailedToExport, ex.Message));
150
var (telemetryResources, allSnapshots) = await InteractionService.ShowStatusAsync(
ExportCommandStrings
.GatheringResources, async () =>
169
InteractionService.DisplayError(string.Format(CultureInfo.CurrentCulture,
ExportCommandStrings
.ResourceNotFound, resourceName));
175
InteractionService.DisplayMessage(KnownEmojis.Information,
ExportCommandStrings
.NoResourcesFound);
200
await InteractionService.ShowStatusAsync(
ExportCommandStrings
.GatheringConsoleLogs, async () =>
210
await InteractionService.ShowStatusAsync(
ExportCommandStrings
.GatheringStructuredLogs, async () =>
217
await InteractionService.ShowStatusAsync(
ExportCommandStrings
.GatheringTraces, async () =>
227
InteractionService.DisplayMessage(KnownEmojis.CheckMarkButton, string.Format(CultureInfo.CurrentCulture,
ExportCommandStrings
.ExportComplete, fullPath));
Profiling\ProfileCaptureService.cs (1)
346
string.Format(CultureInfo.CurrentCulture,
ExportCommandStrings
.ExportComplete, MarkupHelpers.SafeFileLink(_interactionService, _options.OutputPath)),
Program.cs (1)
1255
errorWriter.WriteLine(string.Format(CultureInfo.CurrentCulture,
ExportCommandStrings
.FailedToExport, ex.Message));
Resources\ExportCommandStrings.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Cli.Resources.ExportCommandStrings", typeof(
ExportCommandStrings
).Assembly);
Aspire.Cli.Tests (1)
Commands\ExportCommandTests.cs (1)
858
Assert.Contains(testInteractionService.DisplayedMessages, m => m.Message.Contains(
ExportCommandStrings
.DashboardNotAvailable));