BuildMaster SDK Reference
Version:
CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, System.Collections.Generic.IDictionary<string, string> variables) Method
Returns an instance of the standard variable evaluation context.
Syntax
public
static
Inedo.BuildMaster.Extensibility.Variables.IVariableEvaluationContext CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, IDictionary<string, string> variables)
Parameters
- context
- Type: Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext
The generic BuildMaster context.
- variables
- Type: System.Collections.Generic.IDictionary<string, string>
Initial variable values. May be null (Nothing in Visual Basic) to retrieve automatically.
Returns
Standard variable evaluation context.
Exceptions
System.ArgumentNullException
|
context is null (Nothing in Visual Basic).
|
System.InvalidOperationException
|
The standard context is currently unavailable.
|