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

Represents an inverted section which is only rendered if the value is not truthy
Наследование: InterpolationToken, IRenderableToken, ISection
Показать файл Открыть проект

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

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

Renders a tokens representation if the value (or interpolated value result) is truthy

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

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

Renders a tokens representation if the value (or interpolated value result) is truthy
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