GetTypeInfo(Type, YamlSerializerOptions) Method

Definition

Namespace SharpYaml
Assembly SharpYaml.dll

Gets type metadata for a CLR type.

public 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.