Serializes a value to a writer using explicit type metadata.
public static void Serialize<T>(TextWriter writer, T value, YamlTypeInfo<T> typeInfo)
The destination writer.
The value to serialize.
The metadata used for serialization.