VariableTemplateContext Class

The context information used by VariableTemplateType at input and render time.

Inheritance Hierarchy

Syntax

public class VariableTemplateContext

Constructors

Name Description
VariableTemplateContext(int projectId)

Initializes a new instance of the VariableTemplateContext class.

VariableTemplateContext(int projectId, System.Collections.Generic.IReadOnlyDictionary<string, string> variables)
VariableTemplateContext(int projectId, int releaseId)

Initializes a new instance of the VariableTemplateContext class.

VariableTemplateContext(int projectId, int releaseId, System.Collections.Generic.IReadOnlyDictionary<string, string> variables)
VariableTemplateContext(int projectId, int? releaseId, int? buildId, string pipelineStageName)
VariableTemplateContext(int projectId, int? releaseId, int? buildId, string pipelineStageName, System.Collections.Generic.IReadOnlyDictionary<string, string> variables)

Properties

Name Description
BuildId

Gets the build ID.

PipelineStageName

Gets the name of the pipeline stage.

ProjectId

Gets the project ID.

ReleaseId

Gets the release ID.

Variables

Gets all configuration variables in context