CakeTaskBuilderOfTExtensions.

Description<TData>(CakeTaskBuilder<TData>, string) Method

Summary

Adds a description to the task.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderOfTExtensions

Syntax

public static CakeTaskBuilder<TData> Description<TData>(this CakeTaskBuilder<TData> builder, string description) 
    where TData : class

Type Parameters

Name Description
TData The type of the data context.

Parameters

Name Type Description
builder CakeTaskBuilder<TData> The task builder.
description string The description.

Return Value

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