C# Класс mustache.Trimmer

Removes unnecessary lines from the final output.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RecordText ( string value, bool isTag, bool isOutput ) : IEnumerable

Updates the state of the trimmer, indicating that the given text was encountered before an inline tag.

Trim ( ) : void
Trimmer ( ) : System

Initializes a new instance of a Trimmer.

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

Метод Описание
removeBlankLines ( ) : void
removeEmptyGenerators ( ) : void
separateLines ( ) : void

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

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

Updates the state of the trimmer, indicating that the given text was encountered before an inline tag.
public RecordText ( string value, bool isTag, bool isOutput ) : IEnumerable
value string The text at the end of the format string.
isTag bool
isOutput bool
Результат IEnumerable

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

public Trim ( ) : void
Результат void

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

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