TextTransformationExtensions Class

Summary

Contains extension methods for TextTransformation<TTemplate>.
Namespace
Cake.Common.Text
Base Types
  • object
graph BT Type-->Base0["object"] Type["TextTransformationExtensions"] class Type type-node

Syntax

public static class TextTransformationExtensions

Methods

Name Value Summary
WithToken<TTemplate>(TextTransformation<TTemplate>, string, object) TextTransformation<TTemplate>
Registers a key and a value to be used with the text transformation.
static
WithTokens<TTemplate>(TextTransformation<TTemplate>, IEnumerable<KeyValuePair<string, object>>) TextTransformation<TTemplate>
Registers all keys and values in the enumerable for text transformation.
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