Summary
Makes the task a dependency of the specified tasks.
- Namespace
- Cake
.Core - Containing Type
- Cake
Task Builder Extensions
Syntax
public static CakeTaskBuilder IsDependeeOf(this CakeTaskBuilder builder, IEnumerable<CakeTaskBuilder> others)
Examples
var defaultTask = Task("Default");
var ciTask = Task("CI");
Task("Leaf")
.IsDependeeOf([defaultTask, ciTask]);
Parameters
| Name | Type | Description |
|---|---|---|
| builder | CakeTaskBuilder | The task builder. |
| others | IEnumerable |
The tasks the current task will be a dependency of. |
Return Value
| Type | Description |
|---|---|
| CakeTaskBuilder | The same CakeTaskBuilder instance so that multiple calls can be chained. |
