Click or drag to resize

JsonGenerator Constructor

This constructor should be used if output depends on the name of the document.

Namespace:  Syntactik.Compiler.Generator
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public JsonGenerator(
	Func<string, JsonWriter> writerDelegate,
	CompilerContext context
)

Parameters

writerDelegate
Type: SystemFuncString, JsonWriter
Delegate will be called for the each Document. The name of the document will be sent in the string argument.
context
Type: Syntactik.CompilerCompilerContext
Compilation context.
See Also