C# Class mustache.StaticGenerator

Generates a static block of text.
Inheritance: IGenerator
显示文件 Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
IGenerator ( KeyScope scope, TextWriter writer ) : void
Prune ( ) : void

Removes the static text from the final output.

StaticGenerator ( ) : System

Initializes a new instance of a StaticGenerator.

Method Details

IGenerator() public method

public IGenerator ( KeyScope scope, TextWriter writer ) : void
scope KeyScope
writer System.IO.TextWriter
return void

Prune() public method

Removes the static text from the final output.
public Prune ( ) : void
return void

StaticGenerator() public method

Initializes a new instance of a StaticGenerator.
public StaticGenerator ( ) : System
return System