IYamlTypeInfoResolver interface
Used to resolve the YAML serialization contract for requested types.
Namespace: System.Text.Yaml.Serialization.Metadata ยท Assembly: Styml.dll
public interface IYamlTypeInfoResolver
Used to resolve the YAML serialization contract for requested types.
MethodsLink to this heading
GetTypeInfoLink to this heading
Resolves a YamlTypeInfo contract for the requested type and options.
public YamlTypeInfo? GetTypeInfo(Type type, YamlSerializerOptions options);
Parameters
type: Type to be resolved.options: Configuration used when resolving the metadata.
Returns: A YamlTypeInfo instance matching the requested type, or null if no contract could be resolved.