BuildMaster SDK Reference
Version:

Evaluate(string text, Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context) Method

Evaluates and substitutes all variables and functions in the supplied text and returns the resulting text.

Syntax

public static string Evaluate(string text, Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Parameters

text
Type: string

String containing variables to evaluate.

context
Type: Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext

Current BuildMaster context for variable evaluation.

Returns

Resulting text of evaluated expression.