Emitter(TextWriter, Int32, Int32, Boolean, Boolean, Boolean) Constructor

Definition

Namespace SharpYaml
Assembly SharpYaml.dll

Initializes a new instance of the IEmitter class.

public Emitter(TextWriter output, int bestIndent = 2, int bestWidth = 2147483647, bool isCanonical = false, bool forceIndentLess = false, bool emitKeyQuoted = false)

Parameters

output
TextWriter

The TextWriter where the emitter will write.

bestIndent
Int32

The preferred indentation.

bestWidth
Int32

The preferred text width.

isCanonical
Boolean

If true, write the output in canonical form.

forceIndentLess
Boolean

if set to true [always indent].

emitKeyQuoted
Boolean

if set to true always emit keys double quoted.