YamlWriter(StringBuilder, YamlSerializerOptions?) Constructor

Definition

Assembly SharpYaml.dll

Initializes a new instance of the YamlWriter class that writes directly to a StringBuilder.

public YamlWriter(StringBuilder stringBuilder, YamlSerializerOptions? options = null)

Parameters

stringBuilder
StringBuilder

The destination string builder.

options
YamlSerializerOptions

The serializer options used for formatting.