8 implementations of DisplayMarkupLine
aspire (2)
Interaction\ConsoleInteractionService.cs (1)
587public void DisplayMarkupLine(string markup)
Interaction\ExtensionInteractionService.cs (1)
620public void DisplayMarkupLine(string markup)
Aspire.Cli.Tests (6)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1251public void DisplayMarkupLine(string markup) { }
Commands\UpdateCommandTests.cs (1)
3724public void DisplayMarkupLine(string markup) => _innerService.DisplayMarkupLine(markup);
Projects\ExtensionGuestLauncherTests.cs (1)
246public void DisplayMarkupLine(string markup) => throw new NotImplementedException();
Templating\DotNetTemplateFactoryTests.cs (1)
411public void DisplayMarkupLine(string markup) { }
TestServices\TestExtensionInteractionService.cs (1)
243public void DisplayMarkupLine(string markup)
TestServices\TestInteractionService.cs (1)
359public void DisplayMarkupLine(string markup)
25 references to DisplayMarkupLine
aspire (24)
Commands\ConfigCommand.cs (7)
255InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]"); 307InteractionService.DisplayMarkupLine($" [cyan]{feature.Name.EscapeMarkup()}[/] [dim](default: {defaultText})[/]"); 308InteractionService.DisplayMarkupLine($" [dim]{feature.Description.EscapeMarkup()}[/]"); 311InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.SetFeatureHint.EscapeMarkup()}[/]"); 315InteractionService.DisplayMarkupLine($" [dim]{ConfigCommandStrings.ListCommand_AllFeaturesHint.EscapeMarkup()}[/]"); 508InteractionService.DisplayMarkupLine($" [cyan]{feature.Name.EscapeMarkup()}[/] - {feature.Description.EscapeMarkup()} [dim](default: {feature.DefaultValue})[/]"); 515InteractionService.DisplayMarkupLine($" {requiredText}[cyan]{property.Name.EscapeMarkup()}[/] ([yellow]{property.Type.EscapeMarkup()}[/]) - {property.Description.EscapeMarkup()}");
Commands\DescribeCommand.cs (1)
423InteractionService.DisplayMarkupLine($"{ColorResourceName(state.DisplayName, $"[[{state.DisplayName.EscapeMarkup()}]]")} {stateText}{healthText}{endpointsStr}");
Commands\LogsCommand.cs (1)
469InteractionService.DisplayMarkupLine($"{dimTimestamp}[{color}][[{displayName.EscapeMarkup()}]][/] {escapedContent}");
Commands\McpInitCommand.cs (1)
34InteractionService.DisplayMarkupLine($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\McpStartCommand.cs (1)
29InteractionService.DisplayMarkupLine($"[yellow]⚠ {McpCommandStrings.DeprecatedCommandWarning}[/]");
Commands\RenderCommand.cs (3)
349InteractionService.DisplayMarkupLine("[bold green]Bold green markup[/] and [dim]dim text[/]"); 451InteractionService.DisplayMarkupLine($"SafeLink: {MarkupHelpers.SafeLink(InteractionService, "https://www.aspire.dev/", "Aspire documentation")}"); 452InteractionService.DisplayMarkupLine($"SafeFileLink: {MarkupHelpers.SafeFileLink(InteractionService, filePath)}");
Commands\TelemetryCommandHelpers.cs (1)
583interactionService.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)
274InteractionService.DisplayMarkupLine($"[grey]{timestamp}[/] [{statusColor}]{statusText}[/] [white]{durationStr,8}[/] [{resourceColor}]{resourceName.EscapeMarkup()}[/]: {escapedName} [grey]{spanIdLink}[/]");
Commands\TelemetryTracesCommand.cs (7)
303InteractionService.DisplayMarkupLine($"[grey]Showing {traceInfos.Count} of {response?.TotalCount ?? traceInfos.Count} traces[/]"); 339InteractionService.DisplayMarkupLine($"[bold]Trace:[/] {traceLink}"); 340InteractionService.DisplayMarkupLine("[dim]No spans found[/]"); 349InteractionService.DisplayMarkupLine($"[bold]Trace:[/] {traceLink}"); 350InteractionService.DisplayMarkupLine($"[bold]Duration:[/] {TelemetryCommandHelpers.FormatDuration(totalDuration)} [bold]Spans:[/] {spans.Count}"); 398InteractionService.DisplayMarkupLine($"{indent}[bold {resourceColor}]{span.ResourceName.EscapeMarkup()}[/]"); 420InteractionService.DisplayMarkupLine($"{indent}{connector} [dim]{spanIdLink}[/] {displayName} [{statusColor}]{statusText}[/] [dim]{durationStr}[/]");
Aspire.Cli.Tests (1)
Commands\UpdateCommandTests.cs (1)
3724public void DisplayMarkupLine(string markup) => _innerService.DisplayMarkupLine(markup);