Summary
Executes Cake expression out of process.
- Namespace
- Cake
.Common .Tools .Cake - Containing Type
- CakeAliases
Syntax
[CakeMethodAlias]
public static void CakeExecuteExpression(this ICakeContext context, string cakeExpression)
Examples
CakeExecuteExpression("Information(\"Hello {0}\", \"World\");");
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used to mark script method aliases. |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| cakeExpression | string | The cake expression. |
Return Value
| Type | Description |
|---|---|
| void |
