This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Tfs.Build.Variables.
Summary
Evaluate the value of TFS variable.
If no variable is found with the given name it returns the default value.
Syntax
public static string EvaluateTfsBuildVariable(this ICakeContext context, string variableName, string defaultValue)
Examples
var value = EvaluateTfsBuildVariable("Tfs.Example.Variable", "defaultValue");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
variableName |
string |
The name of the TFS variable |
defaultValue |
string |
The default value of the variable |
Return Value
Type |
Description |
string |
Value of the variable. |