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 to a file
- Assembly
- Cake
.FileHelpers .dll - Namespace
- Cake
.FileHelpers - Containing Type
- FileHelperAliases
Syntax
public static void FileWriteText(this ICakeContext context, FilePath file, string text)
Attributes
| Type | Description |
|---|---|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| file | FilePath | The file to write to. |
| text | string | The text to write. |
Return Value
| Type | Description |
|---|---|
| void |
