YamlWriter(TextWriter, YamlSerializerOptions?) Constructor

Definition

Assembly SharpYaml.dll

Initializes a new instance of the YamlWriter class.

public YamlWriter(TextWriter writer, YamlSerializerOptions? options = null)

Parameters

writer
TextWriter

The destination writer.

options
YamlSerializerOptions

The serializer options used for formatting.