Summary
Adds the dependency to the task's dependencies.
- Namespace
- Cake
.Core - Containing Type
- CakeTaskExtensions
Syntax
public static void AddDependency(this CakeTask task, string name, bool required = true)
Parameters
Name | Type | Description |
---|---|---|
task | CakeTask | The task. |
name | string | The name of the dependency . |
required | bool | Whether or not the dependency is required. |
Return Value
Type | Description |
---|---|
void |