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