BuildMaster SDK Reference
Version:

Evaluate(ILegacyVariableEvaluationContext context) Method

Evaluates the expression tree and returns the result.

Syntax

public string Evaluate(ILegacyVariableEvaluationContext context)

Parameters

context
Type: ILegacyVariableEvaluationContext

The current context.

Returns

Result of the evaluated tree.

Exceptions

System.ArgumentNullException

context is null (Nothing in Visual Basic).

System.ArgumentException

The context has no generic context set.