Summary
Contains extension methods for
CakeTaskBuilder<TData>
.
- Namespace
- Cake
.Core - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["CakeTaskBuilderOfTExtensions"]
class Type type-node
Syntax
public static class CakeTaskBuilderOfTExtensions
Methods
Name | Value | Summary |
---|---|---|
ContinueOnError |
CakeTaskBuilder |
Adds an indication to the task that a thrown exception will not halt the script execution.
static
|
DeferOnError |
CakeTaskBuilder |
Defers all exceptions until after all actions for this task have completed.
static
|
Description |
CakeTaskBuilder |
Adds a description to the task.
static
|
Does |
CakeTaskBuilder |
Adds an action to be executed when the task is invoked.
static
|
Does |
CakeTaskBuilder |
Adds an action to be executed when the task is invoked.
static
|
DoesForEach |
CakeTaskBuilder |
Adds an action to be executed foreach item returned by the items function.
This method will be executed the first time the task is executed.
static
|
DoesForEach |
CakeTaskBuilder |
Adds an action to be executed foreach item returned by the items function.
This method will be executed the first time the task is executed.
static
|
Finally |
CakeTaskBuilder |
Adds a finally handler to be executed after the task have finished executing.
static
|
Finally |
CakeTaskBuilder |
Adds a finally handler to be executed after the task have finished executing.
static
|
IsDependeeOf |
CakeTaskBuilder |
Makes the task a dependee of another task.
static
|
IsDependeeOf |
CakeTaskBuilder |
Makes the task a dependee of another task.
static
|
IsDependentOn |
CakeTaskBuilder |
Creates a dependency between two tasks.
static
|
IsDependentOn |
CakeTaskBuilder |
Creates a dependency between two tasks.
static
|
IsDependentOn |
CakeTaskBuilder |
Creates a dependency between two tasks.
static
|
Of |
CakeTaskBuilder |
Gives a
CakeTaskBuilder<TData> bound to specific data context type.
static
|
OnError |
CakeTaskBuilder |
Adds an error handler to be executed if an exception occurs in the task.
static
|
OnError |
CakeTaskBuilder |
Adds an error handler to be executed if an exception occurs in the task.
static
|
ReportError |
CakeTaskBuilder |
Adds an error reporter for the task to be executed when an exception is thrown from the task.
This action is invoked before the error handler, but gives no opportunity to recover from the error.
static
|
WithCriteria |
CakeTaskBuilder |
Adds a criteria that has to be fulfilled for the task to run.
The criteria is evaluated when traversal of the graph occurs.
static
|
WithCriteria |
CakeTaskBuilder |
Adds a criteria that has to be fulfilled for the task to run.
The criteria is evaluated when traversal of the graph occurs.
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
|