IYamlTypeInfoResolver Interface
Resolves type metadata used by YamlSerializer.
public interface IYamlTypeInfoResolverMethods
| Name | Description |
|---|---|
| GetTypeInfo(Type, YamlSerializerOptions) | Gets type metadata for a CLR type. |
GetTypeInfo(Type, YamlSerializerOptions)
Gets type metadata for a CLR type.
YamlTypeInfo? GetTypeInfo(Type type, YamlSerializerOptions options)Parameters
typeType- The CLR type to resolve.
optionsYamlSerializerOptions- The serializer options in use.
Returns
YamlTypeInfo? The metadata for type, or null when not available.