WriteString Method
Definition
- Namespace
- Codebelt.Extensions.YamlDotNet
- Assemblies
- Codebelt.Extensions.YamlDotNet.dll
WriteString(IEmitter, string, string, Action<ScalarOptions>)
Writes the propertyName and value as part of a name/value pair of an YAML object.
public static void WriteString(this IEmitter writer, string propertyName, string value, Action<ScalarOptions> setup = null)
Parameters
writerIEmitterThe YamlDotNet.Core.IEmitter to extend.
propertyNamestringThe name of the YAML object.
valuestringThe value to be written as part of the name/value pair of an YAML object.
setupAction<ScalarOptions>The ScalarOptions which may be configured.