BuildMaster SDK Reference
Version:

CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context) Method

Returns an instance of the standard variable evaluation context.

Syntax

public static Inedo.BuildMaster.Extensibility.Variables.ILegacyVariableEvaluationContext CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Parameters

context
Type: Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext

The generic BuildMaster context.

Returns

Standard variable evaluation context.

Exceptions

System.ArgumentNullException

context is null (Nothing in Visual Basic).

System.InvalidOperationException

The standard context is currently unavailable.

Remarks

This method should only be called on the BuildMaster server.