WriteScalar(T) Method

Definition

Assembly SharpYaml.dll

Writes a scalar value for a span-formattable type using invariant culture formatting.

public void WriteScalar<T>(T value)
    where T : IFormattable

Type parameters

T
The value type to write.

Parameters

value
{T}

The value to write.