Summary
Contains extension methods for
CakeHost
.
- Namespace
- Cake
.Frosting - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["CakeHostExtensions"]
class Type type-node
Syntax
public static class CakeHostExtensions
Methods
Name | Value | Summary |
---|---|---|
InstallTool |
CakeHost |
Registers a specific tool for installation.
static
|
SetToolPath |
CakeHost |
Sets the specified path as the path where tools and addins will be installed.
static
|
UseCakeSetting |
CakeHost |
Sets the specified Cake setting to the specified value.
static
|
UseContext |
CakeHost |
Registers the specified context type.
Only the last registration will be used.
static
|
UseLifetime |
CakeHost |
Registers the specified lifetime type.
Only the last registration will be used.
static
|
UseModule |
CakeHost |
Registers the specified module type.
static
|
UsePackageInstaller |
CakeHost |
Registers a package installer.
static
|
UseSetup |
CakeHost |
Registers a setup action.
static
|
UseStartup |
CakeHost |
Specify the startup type to be used by the Cake host.
static
|
UseTaskLifetime |
CakeHost |
Registers the specified task lifetime type.
Only the last registration will be used.
static
|
UseTaskSetup |
CakeHost |
Registers a task setup action.
static
|
UseTaskTeardown |
CakeHost |
Registers a task teardown action.
static
|
UseTeardown |
CakeHost |
Registers a teardown action.
static
|
UseWorkingDirectory |
CakeHost |
Sets the relative working directory to be used when running the build.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
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
|