CakeTaskBuilderExtensions.

IsDependeeOf(CakeTaskBuilder, IEnumerable<string>) Method

Summary

Makes the task a dependency of the specified tasks.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderExtensions

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<string> 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.