C# 클래스 mustache.CompoundGenerator

Builds text by combining the output of other generators.
상속: IGenerator
파일 보기 프로젝트 열기: Zocdoc/mustache-sharp 1 사용 예제들

공개 메소드들

메소드 설명
AddGenerator ( IGenerator generator ) : void

Adds the given generator.

AddGenerator ( TagDefinition definition, IGenerator generator ) : void

Adds the given generator, determining whether the generator should be part of the primary generators or added as an secondary generator.

AddStaticGenerators ( IEnumerable generators ) : void

Creates a StaticGenerator from the given value and adds it.

CompoundGenerator ( TagDefinition definition, ArgumentCollection arguments ) : System

Initializes a new instance of a CompoundGenerator.

비공개 메소드들

메소드 설명
IGenerator ( KeyScope scope, TextWriter writer ) : void
addGenerator ( IGenerator generator, bool isSubGenerator ) : void

메소드 상세

AddGenerator() 공개 메소드

Adds the given generator.
public AddGenerator ( IGenerator generator ) : void
generator IGenerator The generator to add.
리턴 void

AddGenerator() 공개 메소드

Adds the given generator, determining whether the generator should be part of the primary generators or added as an secondary generator.
public AddGenerator ( TagDefinition definition, IGenerator generator ) : void
definition TagDefinition The tag that the generator is generating text for.
generator IGenerator The generator to add.
리턴 void

AddStaticGenerators() 공개 메소드

Creates a StaticGenerator from the given value and adds it.
public AddStaticGenerators ( IEnumerable generators ) : void
generators IEnumerable The static generators to add.
리턴 void

CompoundGenerator() 공개 메소드

Initializes a new instance of a CompoundGenerator.
public CompoundGenerator ( TagDefinition definition, ArgumentCollection arguments ) : System
definition TagDefinition The tag that the text is being generated for.
arguments ArgumentCollection The arguments that were passed to the tag.
리턴 System