9 implementations of DisplayMarkupLine
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
327
public void
DisplayMarkupLine
(string markup)
Interaction\ExtensionInteractionService.cs (1)
403
public void
DisplayMarkupLine
(string markup)
Aspire.Cli.Tests (7)
Commands\NewCommandTests.cs (1)
1587
public void
DisplayMarkupLine
(string markup) { }
Commands\PublishCommandPromptingIntegrationTests.cs (1)
962
public void
DisplayMarkupLine
(string markup) { }
Commands\UpdateCommandTests.cs (1)
1063
public void
DisplayMarkupLine
(string markup) => _innerService.DisplayMarkupLine(markup);
Projects\ExtensionGuestLauncherTests.cs (1)
177
public void
DisplayMarkupLine
(string markup) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
490
public void
DisplayMarkupLine
(string markup) { }
TestServices\TestExtensionInteractionService.cs (1)
150
public void
DisplayMarkupLine
(string markup)
TestServices\TestInteractionService.cs (1)
208
public void
DisplayMarkupLine
(string markup)
22 references to DisplayMarkupLine
aspire (21)
Commands\ConfigCommand.cs (6)
293
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] [dim](default: {defaultText})[/]");
294
InteractionService.
DisplayMarkupLine
($" [dim]{feature.Description.EscapeMarkup()}[/]");
297
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]");
301
InteractionService.
DisplayMarkupLine
($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]");
498
InteractionService.
DisplayMarkupLine
($" [cyan]{feature.Name.EscapeMarkup()}[/] - {feature.Description.EscapeMarkup()} [dim](default: {feature.DefaultValue})[/]");
505
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)
342
_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)
231
interactionService.
DisplayMarkupLine
($"[yellow]No {dataType} found[/]");
Commands\TelemetryLogsCommand.cs (1)
275
_interactionService.
DisplayMarkupLine
($"[grey]{timestamp}[/] [{severityColor}]{severity,-4}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/] {escapedBody}");
Commands\TelemetrySpansCommand.cs (1)
288
_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)
1063
public void DisplayMarkupLine(string markup) => _innerService.
DisplayMarkupLine
(markup);