BuildMaster SDK Reference
Version:
Evaluate(string text, Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, string variableSupportCode) 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, string variableSupportCode)
Parameters
- text
- Type: string
String containing variables to evaluate.
- context
- Type: Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext
Current BuildMaster context for variable evaluation.
- variableSupportCode
- Type: string
One of the values in Inedo.BuildMaster.Data.Domains.VariableSupportCodes.
Returns
Resulting text of evaluated expression.