Summary
Creates dependencies on the specified tasks.
- Namespace
- Cake
.Core - Containing Type
- Cake
Task Builder Extensions
Syntax
public static CakeTaskBuilder IsDependentOn(this CakeTaskBuilder builder, IEnumerable<string> names)
Examples
Task("Default")
.IsDependentOn(["Clean", "Build"]);
Parameters
| Name | Type | Description |
|---|---|---|
| builder | CakeTaskBuilder | The task builder. |
| names | IEnumerable |
The names of the dependent tasks. |
Return Value
| Type | Description |
|---|---|
| CakeTaskBuilder | The same CakeTaskBuilder instance so that multiple calls can be chained. |
