C# Класс 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 { }
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetValueOrDefault ( IEnumerable variables ) : string
VariableUsage ( string usage, IEnumerable variables ) : System

Приватные методы

Метод Описание
ParseUsage ( string usage, IEnumerable variables ) : void

Описание методов

GetValueOrDefault() публичный Метод

public GetValueOrDefault ( IEnumerable variables ) : string
variables IEnumerable
Результат string

VariableUsage() публичный Метод

public VariableUsage ( string usage, IEnumerable variables ) : System
usage string
variables IEnumerable
Результат System