CakeRunner.

ExecuteExpression(string, CakeSettings) Method

Summary

Executes supplied cake code expression in own process and supplied settings.
Namespace
Cake.Common.Tools.Cake
Containing Type
CakeRunner

Syntax

[SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times")]
public void ExecuteExpression(string cakeExpression, CakeSettings settings = null)

Attributes

Type Description
SuppressMessageAttribute

Parameters

Name Type Description
cakeExpression string Code expression to execute.
settings CakeSettings optional cake settings.

Return Value

Type Description
void