CakeTaskBuilderExtensions Class

Summary

Contains extension methods for CakeTaskBuilder.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["CakeTaskBuilderExtensions"] class Type type-node

Syntax

public static class CakeTaskBuilderExtensions

Methods

Name Value Summary
ContinueOnError(CakeTaskBuilder) CakeTaskBuilder
Adds an indication to the task that a thrown exception will not halt the script execution.
static
DeferOnError(CakeTaskBuilder) CakeTaskBuilder
Defers all exceptions until after all actions for this task have completed
static
Description(CakeTaskBuilder, string) CakeTaskBuilder
Adds a description to the task.
static
Does(CakeTaskBuilder, Action) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does(CakeTaskBuilder, Action<ICakeContext>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does(CakeTaskBuilder, Func<ICakeContext, Task>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does(CakeTaskBuilder, Func<Task>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does<TData>(CakeTaskBuilder, Action<ICakeContext, TData>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does<TData>(CakeTaskBuilder, Action<TData>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does<TData>(CakeTaskBuilder, Func<ICakeContext, TData, Task>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
Does<TData>(CakeTaskBuilder, Func<TData, Task>) CakeTaskBuilder
Adds an action to be executed when the task is invoked.
static
DoesForEach<TData, TItem>(CakeTaskBuilder, Func<ICakeContext, IEnumerable<TItem>>, Action<TData, TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<ICakeContext, IEnumerable<TItem>>, Action<TData, TItem>) 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<TData, TItem>(CakeTaskBuilder, Func<IEnumerable<TItem>>, Action<TData, TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<IEnumerable<TItem>>, Action<TData, TItem>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, ICakeContext, IEnumerable<TItem>>, Action<TData, TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, ICakeContext, IEnumerable<TItem>>, Action<TData, TItem>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, ICakeContext, IEnumerable<TItem>>, Action<TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, ICakeContext, IEnumerable<TItem>>, Action<TItem>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, IEnumerable<TItem>>, Action<TData, TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, IEnumerable<TItem>>, Action<TData, TItem>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, IEnumerable<TItem>>, Action<TItem, ICakeContext>) 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<TData, TItem>(CakeTaskBuilder, Func<TData, IEnumerable<TItem>>, Action<TItem>) 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<TData, TItem>(CakeTaskBuilder, IEnumerable<TItem>, Action<TData, TItem, ICakeContext>) CakeTaskBuilder
Adds an action to be executed foreach item in the list.
static
DoesForEach<TData, TItem>(CakeTaskBuilder, IEnumerable<TItem>, Action<TData, TItem>) CakeTaskBuilder
Adds an action to be executed foreach item in the list.
static
DoesForEach<TItem>(CakeTaskBuilder, Func<ICakeContext, IEnumerable<TItem>>, Action<TItem, ICakeContext>) 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<TItem>(CakeTaskBuilder, Func<ICakeContext, IEnumerable<TItem>>, Action<TItem>) 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<TItem>(CakeTaskBuilder, Func<IEnumerable<TItem>>, Action<TItem, ICakeContext>) 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<TItem>(CakeTaskBuilder, Func<IEnumerable<TItem>>, Action<TItem>) 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<TItem>(CakeTaskBuilder, IEnumerable<TItem>, Action<TItem, ICakeContext>) CakeTaskBuilder
Adds an action to be executed foreach item in the list.
static
DoesForEach<TItem>(CakeTaskBuilder, IEnumerable<TItem>, Action<TItem>) CakeTaskBuilder
Adds an action to be executed foreach item in the list.
static
Finally(CakeTaskBuilder, Action) CakeTaskBuilder
Adds a finally handler to be executed after the task have finished executing.
static
IsDependeeOf(CakeTaskBuilder, string) CakeTaskBuilder
Makes the task a dependency of another task.
static
IsDependentOn(CakeTaskBuilder, CakeTaskBuilder) CakeTaskBuilder
Creates a dependency between two tasks.
static
IsDependentOn(CakeTaskBuilder, string) CakeTaskBuilder
Creates a dependency between two tasks.
static
OnError(CakeTaskBuilder, Action) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
OnError(CakeTaskBuilder, Action<Exception, ICakeContext>) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
OnError(CakeTaskBuilder, Action<Exception>) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
OnError<TData>(CakeTaskBuilder, Action<Exception, ICakeContext, TData>) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
OnError<TData>(CakeTaskBuilder, Action<Exception, TData>) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
OnError<TData>(CakeTaskBuilder, Action<TData>) CakeTaskBuilder
Adds an error handler to be executed if an exception occurs in the task.
static
ReportError(CakeTaskBuilder, Action<Exception>) 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, bool) CakeTaskBuilder
Adds a criteria that has to be fulfilled for the task to run.
static
WithCriteria(CakeTaskBuilder, bool, string) CakeTaskBuilder
Adds a criteria that has to be fulfilled for the task to run.
static
WithCriteria(CakeTaskBuilder, Func<bool>) 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, Func<bool>, string) 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, Func<ICakeContext, bool>) 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, Func<ICakeContext, bool>, string) 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<TData>(CakeTaskBuilder, Func<ICakeContext, TData, bool>) 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<TData>(CakeTaskBuilder, Func<ICakeContext, TData, bool>, string) 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