TextTransformation<TTemplate>.

Save(FilePath, Encoding) Method

Summary

Saves the text transformation to a file.
Namespace
Cake.Common.Text
Containing Type
TextTransformation<TTemplate>

Syntax

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times", Justification = "Stream writer leaves stream open.")]
public void Save(FilePath path, Encoding encoding)

Attributes

Type Description
SuppressMessageAttribute

Parameters

Name Type Description
path FilePath The FilePath to save the text transformation to.
encoding Encoding The text encoding.

Return Value

Type Description
void