C# Класс mustache.ArgumentCollection

Associates parameters to their argument values.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddArgument ( TagParameter parameter, string key ) : void

Associates the given parameter to the key placeholder.

If the key is null, the default value of the parameter will be used.

ArgumentCollection ( ) : System

Initializes a new instance of an ArgumentCollection.

GetArguments ( KeyScope scope ) : object>.Dictionary

Substitutes the key placeholders with their respective values.

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

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

Associates the given parameter to the key placeholder.
If the key is null, the default value of the parameter will be used.
public AddArgument ( TagParameter parameter, string key ) : void
parameter TagParameter The parameter to associate the key with.
key string The key placeholder used as the argument.
Результат void

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

Initializes a new instance of an ArgumentCollection.
public ArgumentCollection ( ) : System
Результат System

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

Substitutes the key placeholders with their respective values.
public GetArguments ( KeyScope scope ) : object>.Dictionary
scope KeyScope The current lexical scope.
Результат object>.Dictionary