Summary
Creates a dependency between two tasks.
- Namespace
- Cake
.Core - Containing Type
- Cake
Task Builder Of T Extensions
Syntax
public static CakeTaskBuilder<TData> IsDependentOn<TData>(this CakeTaskBuilder<TData> builder, string name)
where TData : class
Type Parameters
Name | Description |
---|---|
TData | The type of the data context. |
Parameters
Name | Type | Description |
---|---|---|
builder | CakeTaskBuilder |
The task builder. |
name | string | The name of the dependent task. |
Return Value
Type | Description |
---|---|
CakeTaskBuilder |
The same CakeTaskBuilder<TData> instance so that multiple calls can be chained. |