CakeTaskExtensions Class

Summary

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

Syntax

public static class CakeTaskExtensions

Methods

Name Value Summary
AddAction(CakeTask, Func<ICakeContext, Task>) void
Adds the action to the task's actions.
static
AddCriteria(CakeTask, Func<ICakeContext, bool>, string) void
Adds to the task's criteria.
static
AddDelayedAction(CakeTask, Action<ICakeContext>) void
Adds the action to the task's delayed actions.
static
AddDependee(CakeTask, string, bool) void
Adds the dependee to the task's dependees.
static
AddDependency(CakeTask, string, bool) void
Adds the dependency to the task's dependencies.
static
SetDeferExceptions(CakeTask, bool) void
Sets the task's defer exceptions state.
static
SetErrorHandler(CakeTask, Action<Exception, ICakeContext>) void
Sets the task's error handler.
static
SetErrorReporter(CakeTask, Action<Exception>) void
Sets the task's error reporter.
static
SetFinallyHandler(CakeTask, Action) void
Sets the task's finally handler.
static