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<string> names)
Examples
Task("Leaf")
.IsDependeeOf(["Default", "CI"]);
Parameters
| Name | Type | Description |
|---|---|---|
| builder | CakeTaskBuilder | The task builder. |
| names | IEnumerable |
The names of 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. |
