CakeTaskBuilderExtensions Class

Summary

Extensions to the CakeTaskBuilder class that we use to bind arguments.
Assembly
Cake.ArgumentBinder.dll
Namespace
Cake.ArgumentBinder
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CakeTaskBuilderExtensions"] class Type type-node

Syntax

public static class CakeTaskBuilderExtensions

Methods

Name Value Summary
DescriptionFromArguments<T>(CakeTaskBuilder, string) CakeTaskBuilder
Sets the Task's description with the output generated from GetDescription<T>(string). That is, a description of each of the arguments a task takes in. Note, calling Description or this function again will overwrite what was there before.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin