C# Класс Stubble.Core.Classes.Tokens.PartialToken

Represents a Partial Token which will load and render a child template
Наследование: ParserOutput, IRenderableToken
Показать файл Открыть проект

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

Метод Описание
Render ( Writer writer, Context context, string>.IDictionary partials, string originalTemplate ) : string

Renders a named partial template if one exists with the given context

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

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

Renders a named partial template if one exists with the given context
public Render ( Writer writer, Context context, string>.IDictionary partials, string originalTemplate ) : string
writer Writer The writer to write the token to
context Context The context to discover values from
partials string>.IDictionary The partial templates available to the token
originalTemplate string The original template
Результат string