8 implementations of DisplayMarkupLine
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
587
public void
DisplayMarkupLine
(string markup)
Interaction\ExtensionInteractionService.cs (1)
509
public void
DisplayMarkupLine
(string markup)
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1251
public void
DisplayMarkupLine
(string markup) { }
Commands\UpdateCommandTests.cs (1)
3537
public void
DisplayMarkupLine
(string markup) => _innerService.DisplayMarkupLine(markup);
Projects\ExtensionGuestLauncherTests.cs (1)
183
public void
DisplayMarkupLine
(string markup) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
412
public void
DisplayMarkupLine
(string markup) { }
TestServices\TestExtensionInteractionService.cs (1)
186
public void
DisplayMarkupLine
(string markup)
TestServices\TestInteractionService.cs (1)
353
public void
DisplayMarkupLine
(string markup)
25 references to DisplayMarkupLine
aspire (24)
Commands\ConfigCommand.cs (7)
248
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]");
300
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] [dim](default: {defaultText})[/]");
301
InteractionService.
DisplayMarkupLine
($" [dim]{feature.Description.EscapeMarkup()}[/]");
304
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]");
308
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]");
501
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] - {feature.Description.EscapeMarkup()} [dim](default: {feature.DefaultValue})[/]");
508
InteractionService.
DisplayMarkupLine
($" {requiredText}[cyan]{property.Name.EscapeMarkup()}[/] ([yellow]{property.Type.EscapeMarkup()}[/]) - {property.Description.EscapeMarkup()}");
Commands\DescribeCommand.cs (1)
352
InteractionService.
DisplayMarkupLine
($"{ColorResourceName(state.DisplayName, $"[[{state.DisplayName.EscapeMarkup()}]]")} {stateText}{healthText}{endpointsStr}");
Commands\LogsCommand.cs (1)
466
InteractionService.
DisplayMarkupLine
($"{dimTimestamp}[{color}][[{displayName.EscapeMarkup()}]][/] {escapedContent}");
Commands\McpInitCommand.cs (1)
46
InteractionService.
DisplayMarkupLine
($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\McpStartCommand.cs (1)
29
InteractionService.
DisplayMarkupLine
($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\RenderCommand.cs (3)
348
InteractionService.
DisplayMarkupLine
("[bold green]Bold green markup[/] and [dim]dim text[/]");
450
InteractionService.
DisplayMarkupLine
($"SafeLink: {MarkupHelpers.SafeLink(InteractionService, "https://www.aspire.dev/", "Aspire documentation")}");
451
InteractionService.
DisplayMarkupLine
($"SafeFileLink: {MarkupHelpers.SafeFileLink(InteractionService, filePath)}");
Commands\TelemetryCommandHelpers.cs (1)
530
interactionService.
DisplayMarkupLine
($"[yellow]No {dataType} found[/]");
Commands\TelemetryLogsCommand.cs (1)
266
_interactionService.
DisplayMarkupLine
($"[grey]{timestamp}[/] [{severityColor}]{severity,-4}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/] {escapedBody}");
Commands\TelemetrySpansCommand.cs (1)
271
InteractionService.
DisplayMarkupLine
($"[grey]{timestamp}[/] [{statusColor}]{statusText}[/] [white]{durationStr,8}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/]: {escapedName} [grey]{spanIdLink}[/]");
Commands\TelemetryTracesCommand.cs (7)
297
InteractionService.
DisplayMarkupLine
($"[grey]Showing {traceInfos.Count} of {response?.TotalCount ?? traceInfos.Count} traces[/]");
333
InteractionService.
DisplayMarkupLine
($"[bold]Trace:[/] {traceLink}");
334
InteractionService.
DisplayMarkupLine
("[dim]No spans found[/]");
343
InteractionService.
DisplayMarkupLine
($"[bold]Trace:[/] {traceLink}");
344
InteractionService.
DisplayMarkupLine
($"[bold]Duration:[/] {TelemetryCommandHelpers.FormatDuration(totalDuration)} [bold]Spans:[/] {spans.Count}");
392
InteractionService.
DisplayMarkupLine
($"{indent}[bold {resourceColor}]{span.ResourceName.EscapeMarkup()}[/]");
414
InteractionService.
DisplayMarkupLine
($"{indent}{connector} [dim]{spanIdLink}[/] {displayName} [{statusColor}]{statusText}[/] [dim]{durationStr}[/]");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3537
public void DisplayMarkupLine(string markup) => _innerService.
DisplayMarkupLine
(markup);