GetTypeInfo(Type, TomlSerializerOptions) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Gets type metadata for a CLR type.

TomlTypeInfo? GetTypeInfo(Type type, TomlSerializerOptions options)

Parameters

type
Type

The CLR type to resolve.

options
TomlSerializerOptions

The serializer options in use.

Returns

TomlTypeInfo
The metadata for type, or null when not available.