CakeSpectreReportPrinter Class

Summary

The default report printer.
Namespace
Cake.Cli
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["ICakeReportPrinter"] click Interface0 "/api/Cake.Core/ICakeReportPrinter" Type["CakeSpectreReportPrinter"] class Type type-node

Syntax

public sealed class CakeSpectreReportPrinter : ICakeReportPrinter

Constructors

Name Summary
CakeSpectreReportPrinter(IAnsiConsole) Initializes a new instance of the CakeSpectreReportPrinter class.

Methods

Name Value Summary
Write(CakeReport) void
Writes the specified report to a target.
WriteLifeCycleStep(string, Verbosity) void
Writes the specified lifecyle steps (i.e. Setup/TearDown) to a target.
WriteSkippedStep(string, Verbosity) void
Writes the skipped step to a target.
WriteStep(string, Verbosity) void
Writes the specified step to a target.

Extension Methods

Name Value Summary
Dump<CakeSpectreReportPrinter>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeSpectreReportPrinter>(CakeSpectreReportPrinter[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeSpectreReportPrinter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<CakeSpectreReportPrinter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<CakeSpectreReportPrinter>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<CakeSpectreReportPrinter>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin