BuildFeature Class

Summary

Represents a feature for building Cake scripts.
Namespace
Cake.Features.Building
Interfaces
Base Types
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

Methods

Name Value Summary
CreateScope(ICakeConfiguration, ICakeArguments, Action<ICakeContainerRegistrar>) IContainer
Creates a container scope with the specified configuration and arguments.
Inherited from Feature
ReadConfiguration(ICakeArguments, DirectoryPath) ICakeConfiguration
Reads the Cake configuration from the specified arguments and root directory.
Inherited from Feature
Run(ICakeArguments, BuildFeatureSettings) int
Runs the build feature with the specified arguments and settings.

Extension Methods

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