GetTypeInfo(Type, YamlSerializerOptions) Method

Definition

Gets type metadata for a CLR type.

public abstract YamlTypeInfo? GetTypeInfo(Type type, YamlSerializerOptions options)

Parameters

type
Type

The CLR type to resolve.

options
YamlSerializerOptions

The serializer options in use.

Returns

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