C# 클래스 mustache.Trimmer

Removes unnecessary lines from the final output.
파일 보기 프로젝트 열기: Zocdoc/mustache-sharp 1 사용 예제들

공개 메소드들

메소드 설명
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