C# Class PowerDeploy.Core.Template.VariableUsage

Used for a usage of a variable. The followings notation is supported: ${Var} Simple usage of a variable with the name Var. ${Var=Tobi} If Var is not set, then use Tobi as default value ${Var=Tobi_$[env]} Default values may contain other variables. Use [ and ] instead of { }
显示文件 Open project: tobiaszuercher/PowerDeploy Class Usage Examples

Public Methods

Method Description
GetValueOrDefault ( IEnumerable variables ) : string
VariableUsage ( string usage, IEnumerable variables ) : System

Private Methods

Method Description
ParseUsage ( string usage, IEnumerable variables ) : void

Method Details

GetValueOrDefault() public method

public GetValueOrDefault ( IEnumerable variables ) : string
variables IEnumerable
return string

VariableUsage() public method

public VariableUsage ( string usage, IEnumerable variables ) : System
usage string
variables IEnumerable
return System