BuildMaster SDK Reference
Version:

Util.Variables Class

Contains methods for working with BuildMaster variables.

Inheritance Hierarchy

  • object
    • Inedo.BuildMaster.Util.Variables

Syntax

public class Util.Variables

Methods

Name Description
ApplyVariableReplacementsToPersistentProperties(object obj, Inedo.BuildMaster.Extensibility.Variables.IVariableEvaluationContext context, string variableSupportCode)

Applies variable replacements to action properties.

ApplyVariableReplacementsToPersistentProperties(object obj, Inedo.BuildMaster.Extensibility.Variables.IVariableEvaluationContext context)

Applies variable replacements to action properties.

CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, System.Collections.Generic.IDictionary<string, string> variables)

Returns an instance of the standard variable evaluation context.

CreateStandardContext(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Returns an instance of the standard variable evaluation context.

Evaluate(string text, Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, string variableSupportCode)

Evaluates and substitutes all variables and functions in the supplied text and returns the resulting text.

Evaluate(string text, Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Evaluates and substitutes all variables and functions in the supplied text and returns the resulting text.

UserCanManage(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Determines whether the current user can manage variables in the specified context.

UserCanManage(Inedo.BuildMaster.Data.Tables.VariableDefinitions_Extended definition)
ValidateManagePermissions(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context)

Validates the current user can manage variables in the specified context.

ValidateManagePermissions(Inedo.BuildMaster.Data.Tables.VariableDefinitions_Extended definition)
ValidateManagePermissions(Inedo.BuildMaster.Data.Tables.VariableDeclarations declaration)