BuildFeatureSettings Class

Summary

Settings for the build feature.
Namespace
Cake.Features.Building
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IScriptHostSettings"] click Interface0 "/api/Cake.Infrastructure/IScriptHostSettings" Type["BuildFeatureSettings"] class Type type-node

Syntax

public sealed class BuildFeatureSettings : IScriptHostSettings

Constructors

Name Summary
BuildFeatureSettings(BuildHostKind) Initializes a new instance of the BuildFeatureSettings class.

Properties

Name Value Summary
BuildHostKind BuildHostKind
Gets the build host kind.
Debug bool
Gets or sets a value indicating whether to run in debug mode.
Exclusive bool
Gets or sets a value indicating whether to run exclusively.
NoBootstrapping bool
Gets or sets a value indicating whether to skip bootstrapping.
Script FilePath
Gets or sets the script file path.
Verbosity Verbosity
Gets or sets the verbosity level.

Extension Methods

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