Summary
Makes the task a dependency of the specified tasks.
Syntax
public static CakeTaskBuilder<TData> IsDependeeOf<TData>(this CakeTaskBuilder<TData> builder, IEnumerable<CakeTaskBuilder> others)
where TData : class
Examples
var defaultTask = Task("Default");
var ciTask = Task("CI");
TaskOf<Foo>("Leaf")
.IsDependeeOf([defaultTask, ciTask]);
Type Parameters
| Name |
Description |
| TData |
The type of the data context. |
Parameters
| Name |
Type |
Description |
| builder |
CakeTaskBuilder<TData> |
The task builder. |
| others |
IEnumerable<CakeTaskBuilder> |
The tasks the current task will be a dependency of. |
Return Value