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 { }
Afficher le fichier Open project: tobiaszuercher/PowerDeploy Class Usage Examples

Méthodes publiques

Méthode Description
GetValueOrDefault ( IEnumerable variables ) : string
VariableUsage ( string usage, IEnumerable variables ) : System

Private Methods

Méthode Description
ParseUsage ( string usage, IEnumerable variables ) : void

Method Details

GetValueOrDefault() public méthode

public GetValueOrDefault ( IEnumerable variables ) : string
variables IEnumerable
Résultat string

VariableUsage() public méthode

public VariableUsage ( string usage, IEnumerable variables ) : System
usage string
variables IEnumerable
Résultat System