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

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Serializes a value to a stream using UTF-8 encoding, an explicit input type, and generated metadata from a serializer context.

public static void Serialize(Stream stream, object? value, Type inputType, TomlSerializerContext context)

Parameters

stream
Stream
value
Object
inputType
Type