This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.FileHelpers.
Summary
Writes all text lines to a file
Syntax
public static void FileWriteLines(this ICakeContext context, FilePath file, Encoding encoding, string[] lines)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
file |
FilePath |
The file to write to. |
encoding |
Encoding |
The encoding to use for the file. |
lines |
string[] |
The text lines to write. |
Return Value