Summary
Transform a text template.
- Namespace
- Cake
.Common .Tools .TextTransform - Containing Type
- TextTransformAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("T4 Text Templating")]
public static void TransformTemplate(this ICakeContext context, FilePath sourceFile)
Examples
// Transform a .tt template.
var transform = File("./src/Cake/Transform.tt");
TransformTemplate(transform);
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used to mark script method aliases. |
| Cake |
An attribute used for documentation of alias methods/properties. |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| sourceFile | FilePath | The source file. |
Return Value
| Type | Description |
|---|---|
| void |
