Summary
The Cake host.
- Namespace
- Cake
.Frosting - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["CakeHost"]
class Type type-node
Syntax
public sealed class CakeHost
Constructors
Name | Summary |
---|---|
CakeHost |
Initializes a new instance of the CakeHost class.
|
Methods
Name | Value | Summary |
---|---|---|
AddAssembly |
CakeHost |
Registers an assembly which will be used to find tasks.
|
ConfigureServices |
CakeHost |
Adds a delegate for configuring additional services for the host.
|
Create |
CakeHost |
Creates a
CakeHost .
static
|
Run |
int |
Runs the build with the specified arguments.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
InstallTool |
CakeHost |
Registers a specific tool for installation.
From CakeHostExtensions
|
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 IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
SetToolPath |
CakeHost |
Sets the specified path as the path where tools and addins will be installed.
From CakeHostExtensions
|
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
|
UseCakeSetting |
CakeHost |
Sets the specified Cake setting to the specified value.
From CakeHostExtensions
|
UseContext |
CakeHost |
Registers the specified context type.
Only the last registration will be used.
From CakeHostExtensions
|
UseLifetime |
CakeHost |
Registers the specified lifetime type.
Only the last registration will be used.
From CakeHostExtensions
|
UseModule |
CakeHost |
Registers the specified module type.
From CakeHostExtensions
|
UsePackageInstaller |
CakeHost |
Registers a package installer.
From CakeHostExtensions
|
UseSetup |
CakeHost |
Registers a setup action.
From CakeHostExtensions
|
UseStartup |
CakeHost |
Specify the startup type to be used by the Cake host.
From CakeHostExtensions
|
UseTaskLifetime |
CakeHost |
Registers the specified task lifetime type.
Only the last registration will be used.
From CakeHostExtensions
|
UseTaskSetup |
CakeHost |
Registers a task setup action.
From CakeHostExtensions
|
UseTaskTeardown |
CakeHost |
Registers a task teardown action.
From CakeHostExtensions
|
UseTeardown |
CakeHost |
Registers a teardown action.
From CakeHostExtensions
|
UseWorkingDirectory |
CakeHost |
Sets the relative working directory to be used when running the build.
From CakeHostExtensions
|