C# Class mustache.KeyGenerator

Substitutes a key placeholder with the textual representation of the associated object.
Inheritance: IGenerator
Show file Open project: Zocdoc/mustache-sharp Class Usage Examples

Public Methods

Method Description
KeyGenerator ( string key, string alignment, string formatting ) : System

Initializes a new instance of a KeyGenerator.

Private Methods

Method Description
IGenerator ( KeyScope scope, TextWriter writer ) : void
getFormat ( string alignment, string formatting ) : string

Method Details

KeyGenerator() public method

Initializes a new instance of a KeyGenerator.
public KeyGenerator ( string key, string alignment, string formatting ) : System
key string The key to substitute with its value.
alignment string The alignment specifier.
formatting string The format specifier.
return System