TextTransformationAliases Class

Summary

Contains functionality related to text transformation.
Namespace
Cake.Common.Text
Base Types
  • object
graph BT Type-->Base0["object"] Type["TextTransformationAliases"] class Type type-node

Syntax

[CakeAliasCategory("Text")]
public static class TextTransformationAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
TransformText(ICakeContext, string, string, string) TextTransformation<TextTransformationTemplate>
Creates a text transformation from the provided template, using the specified placeholder.
static
TransformText(ICakeContext, string) TextTransformation<TextTransformationTemplate>
Creates a text transformation from the provided template.
static
TransformTextFile(ICakeContext, FilePath, string, string) TextTransformation<TextTransformationTemplate>
Creates a text transformation from the provided template on disc, using the specified placeholder.
static
TransformTextFile(ICakeContext, FilePath) TextTransformation<TextTransformationTemplate>
Creates a text transformation from the provided template on disc.
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