Serialize(TextWriter, Object?, Type, TomlSerializerContext) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Serializes a value to a writer using an explicit input type and generated metadata from a serializer context.

public static void Serialize(TextWriter writer, object? value, Type inputType, TomlSerializerContext context)

Parameters

writer
TextWriter
value
Object
inputType
Type