Verbosity Enum

Summary

Represents verbosity.
Namespace
Cake.Core.Diagnostics
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["Verbosity"] class Type type-node

Syntax

public enum Verbosity

Fields

Name Constant Value Summary
Diagnostic 4
Diagnostic verbosity.
static
Minimal 1
Minimal verbosity.
static
Normal 2
Normal verbosity.
static
Quiet 0
Quiet verbosity.
static
Verbose 3
Verbose verbosity.
static

Extension Methods

Name Value Summary
Dump<Verbosity>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetMSBuildVerbosityName() string
Gets the MSBuild verbosity from Verbosity.
IsIn<Verbosity>(Verbosity[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<Verbosity>(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<Verbosity>(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