CakeReportPrinter Class

Summary

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

Syntax

public sealed class CakeReportPrinter : ICakeReportPrinter

Constructors

Name Summary
CakeReportPrinter(IConsole, ICakeContext) Initializes a new instance of the CakeReportPrinter 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<CakeReportPrinter>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CakeReportPrinter>(CakeReportPrinter[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CakeReportPrinter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CakeReportPrinter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<CakeReportPrinter>(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<CakeReportPrinter>(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