Summary
Represents a feature for building Cake scripts.
- Namespace
- Cake
.Features .Building - Interfaces
- Base Types
-
- object
- Feature
graph BT
Type-->Base0["Feature"]
click Base0 "/api/Cake.Features/Feature"
Base0-->Base1["object"]
Type-.->Interface0["IBuildFeature"]
click Interface0 "/api/Cake.Features.Building/IBuildFeature"
Type["BuildFeature"]
class Type type-node
Syntax
public sealed class BuildFeature : Feature, IBuildFeature
Constructors
| Name | Summary |
|---|---|
| BuildFeature |
Initializes a new instance of the BuildFeature class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| CreateScope |
IContainer |
Creates a container scope with the specified configuration and arguments.
Inherited from Feature
|
| ReadConfiguration |
ICakeConfiguration |
Reads the Cake configuration from the specified arguments and root directory.
Inherited from Feature
|
| Run |
int |
Runs the build feature with the specified arguments and settings.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
