CakeTaskBuilderOfTExtensions.

IsDependentOn<TData>(CakeTaskBuilder<TData>, CakeTaskBuilder<TData>) Method

Summary

Creates a dependency between two tasks.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderOfTExtensions

Syntax

public static CakeTaskBuilder<TData> IsDependentOn<TData>(this CakeTaskBuilder<TData> builder, CakeTaskBuilder<TData> other) 
    where TData : class

Type Parameters

Name Description
TData The type of the data context.

Parameters

Name Type Description
builder CakeTaskBuilder<TData> The task builder.
other CakeTaskBuilder<TData> The dependent task.

Return Value

Type Description
CakeTaskBuilder<TData> The same CakeTaskBuilder<TData> instance so that multiple calls can be chained.