8 implementations of DisplayMarkupLine
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
266
public void
DisplayMarkupLine
(string markup)
Interaction\ExtensionInteractionService.cs (1)
386
public void
DisplayMarkupLine
(string markup)
Aspire.Cli.Tests (6)
Commands\NewCommandTests.cs (1)
1415
public void
DisplayMarkupLine
(string markup) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
956
public void
DisplayMarkupLine
(string markup) { }
Commands\UpdateCommandTests.cs (1)
1065
public void
DisplayMarkupLine
(string markup) => _innerService.DisplayMarkupLine(markup);
Templating\DotNetTemplateFactoryTests.cs (1)
490
public void
DisplayMarkupLine
(string markup) { }
TestServices\TestConsoleInteractionService.cs (1)
131
public void
DisplayMarkupLine
(string markup)
TestServices\TestExtensionInteractionService.cs (1)
144
public void
DisplayMarkupLine
(string markup)
21 references to DisplayMarkupLine
aspire (20)
Commands\ConfigCommand.cs (5)
274
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] [dim](default: {defaultText})[/]");
275
InteractionService.
DisplayMarkupLine
($" [dim]{feature.Description.EscapeMarkup()}[/]");
278
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]");
473
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] - {feature.Description.EscapeMarkup()} [dim](default: {feature.DefaultValue})[/]");
480
InteractionService.
DisplayMarkupLine
($" {requiredText}[cyan]{property.Name.EscapeMarkup()}[/] ([yellow]{property.Type.EscapeMarkup()}[/]) - {property.Description.EscapeMarkup()}");
Commands\DescribeCommand.cs (1)
314
_interactionService.
DisplayMarkupLine
($"{ColorResourceName(state.DisplayName, $"[[{state.DisplayName.EscapeMarkup()}]]")} {stateText}{healthText}{endpointsStr}");
Commands\LogsCommand.cs (1)
343
_interactionService.
DisplayMarkupLine
($"{timestampPrefix.EscapeMarkup()}[{color}][[{displayName.EscapeMarkup()}]][/] {escapedContent}");
Commands\McpInitCommand.cs (1)
60
InteractionService.
DisplayMarkupLine
($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\McpStartCommand.cs (1)
39
InteractionService.
DisplayMarkupLine
($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\RenderCommand.cs (1)
153
InteractionService.
DisplayMarkupLine
("[bold green]Bold green markup[/] and [dim]dim text[/]");
Commands\TelemetryCommandHelpers.cs (1)
232
interactionService.
DisplayMarkupLine
($"[yellow]No {dataType} found[/]");
Commands\TelemetryLogsCommand.cs (1)
276
_interactionService.
DisplayMarkupLine
($"[grey]{timestamp}[/] [{severityColor}]{severity,-4}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/] {escapedBody}");
Commands\TelemetrySpansCommand.cs (1)
289
_interactionService.
DisplayMarkupLine
($"[grey]{timestamp}[/] [{statusColor}]{statusText}[/] [white]{durationStr,8}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/]: {escapedName} [grey]{shortSpanId}[/]");
Commands\TelemetryTracesCommand.cs (7)
309
_interactionService.
DisplayMarkupLine
($"[grey]Showing {traceInfos.Count} of {response?.TotalCount ?? traceInfos.Count} traces[/]");
342
_interactionService.
DisplayMarkupLine
($"[bold]Trace: {traceId}[/]");
343
_interactionService.
DisplayMarkupLine
("[dim]No spans found[/]");
352
_interactionService.
DisplayMarkupLine
($"[bold]Trace:[/] {traceId}");
353
_interactionService.
DisplayMarkupLine
($"[bold]Duration:[/] {TelemetryCommandHelpers.FormatDuration(totalDuration)} [bold]Spans:[/] {spans.Count}");
399
_interactionService.
DisplayMarkupLine
($"{indent}[bold {resourceColor}]{span.ResourceName.EscapeMarkup()}[/]");
420
_interactionService.
DisplayMarkupLine
($"{indent}{connector} [dim]{shortenedSpanId}[/] {displayName} [{statusColor}]{statusText}[/] [dim]{durationStr}[/]");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
1065
public void DisplayMarkupLine(string markup) => _innerService.
DisplayMarkupLine
(markup);