Create(TextReader, TomlSerializerOptions?) Method

Definition

Namespace Tomlyn.Parsing
Assembly Tomlyn.dll

Creates a parser over TOML text from a TextReader.

public static TomlParser Create(TextReader reader, TomlSerializerOptions? options = null)

Parameters

reader
TextReader

The text reader.

options
TomlSerializerOptions

Optional parser/serializer options.

Returns

TomlParser
A parser instance positioned before the first event.