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. When unset, verbosity is taken from configuration (environment, cake.config, remaining arguments).

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.Ftp addin
NotNull<BuildFeatureSettings>(string) void
Requires the Cake.Issues 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
Requires the Cake.Issues addin